Remove unused KeyValue model (#3206).
This commit is contained in:
9
db/migrate/20170709190409_drop_key_values.rb
Normal file
9
db/migrate/20170709190409_drop_key_values.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class DropKeyValues < ActiveRecord::Migration
|
||||
def up
|
||||
drop_table :key_values
|
||||
end
|
||||
|
||||
def down
|
||||
raise ActiveRecord::IrreversibleMigration, "Can't recover the lost data"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user