9 lines
156 B
Ruby
9 lines
156 B
Ruby
|
class RenameBlogMessage < ActiveRecord::Migration
|
||
|
def up
|
||
|
rename_column :blog_messages, :blog_commont_id, :blog_message_id
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
end
|
||
|
end
|