discourse/db/migrate/20170413043152_rename_warni...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
206 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
class RenameWarnings < ActiveRecord::Migration[4.2]
2017-04-15 00:11:02 -04:00
def up
rename_table :warnings, :user_warnings
end
def down
rename_table :user_warnings, :warnings
end
end