Migrates adding limit to username and removing Comment.title
This commit is contained in:
5
db/migrate/20150909131133_set_username_limit.rb
Normal file
5
db/migrate/20150909131133_set_username_limit.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class SetUsernameLimit < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :users, :username, :string, limit: 200
|
||||
end
|
||||
end
|
||||
5
db/migrate/20150909135032_remove_comment_title.rb
Normal file
5
db/migrate/20150909135032_remove_comment_title.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class RemoveCommentTitle < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :comments, :title
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user