Sha256: 39081702197f850c5c21cb25794d94f090af5a49ba6fbb00d0dd0f60a0df3f29

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

class CreateStorytimePosts < ActiveRecord::Migration
  def change
    create_table :storytime_posts do |t|
      t.references :user, index: true
      t.string :title
      t.text :content
      t.text :excerpt
      t.boolean :published
      t.string :post_type

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
storytime-0.0.1 db/migrate/20140501174341_create_storytime_posts.rb