Sha256: 07c2c83f475bb0cf036ac3cc7ec92b3316bfb6d6da6def9765525ee0d1ac4c2d

Contents?: true

Size: 194 Bytes

Versions: 10

Compression:

Stored size: 194 Bytes

Contents

class CreatePosts < ActiveRecord::Migration
  def change
    create_table :posts do |t|
      t.string :title
      t.text :body
      t.integer :author_id

      t.timestamps
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
ember_serialize-0.0.9 test/dummy/db/migrate/20140825151509_create_posts.rb
ember_serialize-0.0.8 test/dummy/db/migrate/20140825151509_create_posts.rb
ember_serialize-0.0.7 test/dummy/db/migrate/20140825151509_create_posts.rb
ember_serialize-0.0.6 test/dummy/db/migrate/20140825151509_create_posts.rb
ember_serialize-0.0.5 test/dummy/db/migrate/20140825151509_create_posts.rb
ember_serialize-0.0.4 test/dummy/db/migrate/20140825151509_create_posts.rb
ember_serialize-0.0.3 test/dummy/db/migrate/20140825151509_create_posts.rb
ember_serialize-0.0.2 test/dummy/db/migrate/20140825151509_create_posts.rb
ember_serialize-0.0.1 test/dummy/db/migrate/20140825151509_create_posts.rb
cache_cow-0.0.1 spec/dummy/db/migrate/20111026035600_create_posts.rb