Sha256: 593f851017472611b619bbada9c012757125db2956a9cd4cd73f18c5e6b7a4a6

Contents?: true

Size: 234 Bytes

Versions: 11

Compression:

Stored size: 234 Bytes

Contents

class CreatePosts < ActiveRecord::Migration[4.2]

  def change
    create_table :posts, force: true do |t|
      t.text :title
      t.text :body
      t.references :user, index: true
      t.timestamps null: false
    end
  end

end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
secondbase-2.2.0 test/dummy_apps/rails_five/db/migrate/20141214142700_create_posts.rb
secondbase-2.1.6 test/dummy_apps/rails_five/db/migrate/20141214142700_create_posts.rb
fourthbase-2.1.2 test/dummy_apps/rails_five/db/migrate/20141214142700_create_posts.rb
secondbase-2.1.5 test/dummy_apps/rails_five/db/migrate/20141214142700_create_posts.rb
secondbase-2.1.4 test/dummy_apps/rails_five/db/migrate/20141214142700_create_posts.rb
secondbase-2.1.3 test/dummy_apps/rails_five/db/migrate/20141214142700_create_posts.rb
secondbase-2.1.2 test/dummy_apps/rails_five/db/migrate/20141214142700_create_posts.rb
thirdbase-2.1.2 test/dummy_apps/rails_five/db/migrate/20141214142700_create_posts.rb
thirdbase-2.1.1 test/dummy_apps/rails_five/db/migrate/20141214142700_create_posts.rb
secondbase-2.1.0 test/dummy_apps/rails_five/db/migrate/20141214142700_create_posts.rb
secondbase-2.0.0 test/dummy_apps/rails_five/db/migrate/20141214142700_create_posts.rb