discourse/db/migrate/20140811094300_rename_defer...

9 lines
248 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class RenameDeferedColumnsOnPostAction < ActiveRecord::Migration[4.2]
def change
rename_column :post_actions, :defered_by_id, :deferred_by_id
rename_column :post_actions, :defered_at, :deferred_at
end
end