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/20130526015928_create_blogposts.rb
2013-06-24 13:29:39 +02:00

12 lines
200 B
Ruby

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