Sha256: 3ae524aa000ccb95fd77b50d2280a08c0b8237c3fc92f096fb5bb5f4b502a546

Contents?: true

Size: 220 Bytes

Versions: 11

Compression:

Stored size: 220 Bytes

Contents

class CreateComments < ActiveRecord::Migration[4.2]

  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

11 entries across 11 versions & 3 rubygems

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