rosa-build/db/migrate/20110309173339_create_platf...

16 lines
283 B
Ruby

class CreatePlatforms < ActiveRecord::Migration
def self.up
create_table :platforms do |t|
t.string :name
t.string :unixname
t.integer :parent_platform_id, references: nil
t.timestamps
end
end
def self.down
drop_table :platforms
end
end