This repository has been archived on 2024-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
redstoner.com/db/migrate/20140617183703_create_blogposts.rb
2016-02-07 14:27:57 +01:00

13 lines
263 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 null: true
end
end
end