2011-03-09 17:38:21 +00:00
|
|
|
class CreatePlatforms < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
|
|
create_table :platforms do |t|
|
|
|
|
t.string :name
|
|
|
|
t.string :unixname
|
2014-03-13 23:21:53 +00:00
|
|
|
t.integer :parent_platform_id, references: nil
|
2011-03-09 17:38:21 +00:00
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
drop_table :platforms
|
|
|
|
end
|
|
|
|
end
|