merge
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class ChangeCommentTextAttributeToTextDatatype < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :comments, :text, :text
|
||||
end
|
||||
def down
|
||||
# This might cause trouble if you have strings longer
|
||||
# than 255 characters.
|
||||
change_column :comments, :text, :string
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user