collab/db/migrate/20100312004836_create_walls.rb

15 lines
243 B
Ruby
Raw Permalink Normal View History

2010-03-15 15:47:32 +00:00
class CreateWalls < ActiveRecord::Migration
def self.up
create_table :walls do |t|
t.belongs_to :project
t.text :text
t.belongs_to :user
t.timestamps
end
end
def self.down
drop_table :walls
end
end