This repository has been archived on 2024-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
redstoner.com/db/migrate/20130526020734_create_comments.rb
2013-06-24 13:29:39 +02:00

12 lines
205 B
Ruby

class CreateComments < ActiveRecord::Migration
def change
create_table :comments do |t|
t.text :text
t.integer :user_id
t.references :blogpost
t.timestamps
end
end
end