Sha256: 9256cd53494da07b91c9fb28b6ba200a2d9fe1545e78ed5bb7540ae72b086247

Contents?: true

Size: 229 Bytes

Versions: 13

Compression:

Stored size: 229 Bytes

Contents

class CreatePosts < ActiveRecord::Migration

  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

13 entries across 13 versions & 3 rubygems

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