1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-06 11:19:51 +00:00
discourse/db/migrate/20170413043152_rename_warnings.rb

10 lines
175 B
Ruby

class RenameWarnings < ActiveRecord::Migration[4.2]
def up
rename_table :warnings, :user_warnings
end
def down
rename_table :user_warnings, :warnings
end
end