LOTS of stuff
This commit is contained in:
13
db/migrate/03_create_blogposts.rb
Normal file
13
db/migrate/03_create_blogposts.rb
Normal file
@@ -0,0 +1,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
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user