Added migration to remove debtags tables
This commit is contained in:
parent
babc6ccf19
commit
8b9b40fdee
1 changed files with 10 additions and 0 deletions
10
db/migrate/20141206182405_drop_debtags_table.rb
Normal file
10
db/migrate/20141206182405_drop_debtags_table.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
class DropDebtagsTable < ActiveRecord::Migration
|
||||
def up
|
||||
drop_table :packages_to_debtags
|
||||
drop_table :debtags
|
||||
end
|
||||
|
||||
def down
|
||||
raise ActiveRecord::IrreversibleMigration
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue