2012-01-30 20:39:34 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2011-03-09 17:38:21 +00:00
|
|
|
class CreateProjects < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
|
|
create_table :projects do |t|
|
|
|
|
t.string :name
|
|
|
|
t.string :unixname
|
|
|
|
t.integer :platform_id
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
drop_table :projects
|
|
|
|
end
|
|
|
|
end
|