collab/db/migrate/20100304035633_create_projects.rb

14 lines
202 B
Ruby
Raw Normal View History

2010-03-04 06:22:45 +00:00
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