blob: f530ed1f6ea9c64ebd7b645a0646bfabcaad9798 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|