rosa-build/db/migrate/20111029150934_create_auto_...

16 lines
336 B
Ruby
Raw Permalink Normal View History

class CreateAutoBuildLists < ActiveRecord::Migration
def self.up
create_table :auto_build_lists do |t|
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
t.timestamps
end
end
def self.down
drop_table :auto_build_lists
end
end