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/00000000000003_create_blogposts.rb
2013-10-07 04:59:21 +02:00

13 lines
242 B
Ruby

class CreateBlogposts < ActiveRecord::Migration
def change
create_table :blogposts do |t|
t.string :title
t.text :content
t.references :user_author
t.references :user_editor
t.timestamps
end
end
end