Sha256: 045c468d9e4cdbcecdb25094f28447f4acad5c0898c21fd91e14511955789648

Contents?: true

Size: 283 Bytes

Versions: 2

Compression:

Stored size: 283 Bytes

Contents

class CreateIdentities < ActiveRecord::Migration[5.0]
  def change
    create_table :identities do |t|
      t.string :name, index: true
      t.string :email, index: true
      t.string :password_digest
      t.references :profile, index: true

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.4 db/migrate/20150421023923_create_identities.rb
enju_seed-0.3.0.beta.3 db/migrate/20150421023923_create_identities.rb