socialforge/db/migrate/20170119084215_rename_blog_...

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