Sha256: c89c77eed7986a44a6a36a00817f6649a85925ec239f308d0d14e2f55dd1858e

Contents?: true

Size: 238 Bytes

Versions: 10

Compression:

Stored size: 238 Bytes

Contents

class CreatePeople < ActiveRecord::Migration
  def change
    create_table :people do |t|
      t.string :first_name
      t.string :last_name
      t.integer :age
      t.date :birthdate

      t.timestamps null: false
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fix-db-schema-conflicts-3.1.1 spec/test-app/db/migrate/20160322223225_create_people.rb
fix-db-schema-conflicts-3.1.0 spec/test-app/db/migrate/20160322223225_create_people.rb
fix-db-schema-conflicts-3.0.3 spec/test-app/db/migrate/20160322223225_create_people.rb
fix-db-schema-conflicts-3.0.2 spec/test-app/db/migrate/20160322223225_create_people.rb
fix-db-schema-conflicts-3.0.1 spec/test-app/db/migrate/20160322223225_create_people.rb
fix-db-schema-conflicts-3.0.0 spec/test-app/db/migrate/20160322223225_create_people.rb
fix-db-schema-conflicts-2.0.1 spec/test-app/db/migrate/20160322223225_create_people.rb
fix-db-schema-conflicts-2.0.0 spec/test-app/db/migrate/20160322223225_create_people.rb
fix-db-schema-conflicts-1.2.2 spec/test-app/db/migrate/20160322223225_create_people.rb
fix-db-schema-conflicts-1.2.1 spec/test-app/db/migrate/20160322223225_create_people.rb