This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/db/migrate/006_create_discussions.rb

13 lines
232 B
Ruby

class CreateDiscussions < ActiveRecord::Migration
def self.up
create_table :discussions do |t|
t.column :page_id, :integer
t.column :text, :text
end
end
def self.down
drop_table :discussions
end
end