collab/db/migrate/20100304035633_create_proje...

14 lines
202 B
Ruby

class CreateProjects < ActiveRecord::Migration
def self.up
create_table :projects do |t|
t.string :name
t.timestamps
end
end
def self.down
drop_table :projects
end
end