limits the length of debates.title to 80 in the db
This commit is contained in:
5
db/migrate/20150806111435_change_debates_title_length.rb
Normal file
5
db/migrate/20150806111435_change_debates_title_length.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class ChangeDebatesTitleLength < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :debates, :title, :string, limit: 80
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user