Sha256: 36b3a27f83facc1e67488d5058ee57067d53b330ec93287d338ad28f510b4391

Contents?: true

Size: 215 Bytes

Versions: 13

Compression:

Stored size: 215 Bytes

Contents

class CreateComments < ActiveRecord::Migration

  def change
    create_table :comments, force: true do |t|
      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/secondbase/migrate/20151202075826_create_comments.rb
secondbase-2.1.6 test/dummy_apps/rails_four/db/secondbase/migrate/20151202075826_create_comments.rb
fourthbase-2.1.2 test/dummy_apps/rails_four/db/secondbase/migrate/20151202075826_create_comments.rb
secondbase-2.1.5 test/dummy_apps/rails_four/db/secondbase/migrate/20151202075826_create_comments.rb
secondbase-2.1.4 test/dummy_apps/rails_four/db/secondbase/migrate/20151202075826_create_comments.rb
secondbase-2.1.3 test/dummy_apps/rails_four/db/secondbase/migrate/20151202075826_create_comments.rb
secondbase-2.1.2 test/dummy_apps/rails_four/db/secondbase/migrate/20151202075826_create_comments.rb
thirdbase-2.1.2 test/dummy_apps/rails_four/db/secondbase/migrate/20151202075826_create_comments.rb
thirdbase-2.1.1 test/dummy_apps/rails_four/db/secondbase/migrate/20151202075826_create_comments.rb
secondbase-2.1.0 test/dummy_apps/rails_four/db/secondbase/migrate/20151202075826_create_comments.rb
secondbase-2.0.0 test/dummy_apps/rails_four/db/secondbase/migrate/20151202075826_create_comments.rb
secondbase-1.0.1 test/dummy_app/db/secondbase/migrate/20151202075826_create_comments.rb
secondbase-1.0.0 test/dummy_app/db/secondbase/migrate/20151202075826_create_comments.rb