16 lines
336 B
Ruby
16 lines
336 B
Ruby
class CreateAutoBuildLists < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :auto_build_lists do |t|
|
|
t.integer :project_id
|
|
t.integer :arch_id
|
|
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
|