Sha256: 7e0d5e58658a55551a3bf43285c5d83e8f39de2654acf905a187dc97e261aa02

Contents?: true

Size: 357 Bytes

Versions: 45

Compression:

Stored size: 357 Bytes

Contents

class CreateIdentities < ActiveRecord::Migration
  def change
    create_table :identities do |t|
      t.string :name
      t.string :email
      t.string :password_digest
      t.integer :profile_id

      t.timestamps null: false
    end
    add_index :identities, :name
    add_index :identities, :email
    add_index :identities, :profile_id
  end
end

Version data entries

45 entries across 42 versions & 4 rubygems

Version Path
enju_leaf-1.2.2 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_library-0.2.5 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_library-0.2.4 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_library-0.2.3 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_grid-0.2.0 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.1/spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.2/spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_leaf-1.2.1 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/bundler/gems/enju_library-d36f415e177e/spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_library-0.2.2 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_library-0.2.1 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_library-0.2.0 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_leaf-1.2.0 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_leaf-1.2.0.beta.4 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_library-0.2.0.beta.10 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_grid-0.2.0.beta.3 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_library-0.2.0.beta.9 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_leaf-1.2.0.beta.3 spec/dummy/db/migrate/20150421023923_create_identities.rb
enju_seed-0.2.0.beta.6 db/migrate/20150421023923_create_identities.rb
enju_library-0.2.0.beta.8 spec/dummy/db/migrate/20150421023923_create_identities.rb