2012-03-29 19:22:48 +01:00
|
|
|
class RemoveAutoBuildList < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
|
|
drop_table :auto_build_lists
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
2014-01-21 04:51:49 +00:00
|
|
|
create_table :auto_build_lists, force: true do |t|
|
2012-03-29 19:22:48 +01:00
|
|
|
t.integer "project_id"
|
|
|
|
t.integer "arch_id"
|
2014-03-14 17:41:49 +00:00
|
|
|
t.integer "pl_id", references: nil
|
|
|
|
t.integer "bpl_id", references: nil
|
2012-03-29 19:22:48 +01:00
|
|
|
t.datetime "created_at"
|
|
|
|
t.datetime "updated_at"
|
|
|
|
end
|
|
|
|
end
|
2012-03-29 22:24:57 +01:00
|
|
|
end
|