Sha256: bf15f36fc1d63ff17d8d6218dc08c0c6d4b64cae918e36fd6787b1d147330105

Contents?: true

Size: 325 Bytes

Versions: 56

Compression:

Stored size: 325 Bytes

Contents

class AddDeviseUsers < ActiveRecord::Migration
  def change
    create_table(:users) do |t|
      t.string :email,              :null => false, :default => ""
      t.string :encrypted_password, :null => false, :default => ""
      t.timestamps
    end

    add_index :users, :email,                :unique => true
  end
end

Version data entries

56 entries across 19 versions & 6 rubygems

Version Path
mongo_session_store-3.2.1 spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.2.1 spec/support/apps/rails_5.1_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.2.1 spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.2.1 spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.2.1 spec/support/apps/rails_5.0_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.2.0 spec/support/apps/rails_5.0_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.2.0 spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.2.0 spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.2.0 spec/support/apps/rails_5.1_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.2.0 spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.1.0 spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.1.0 spec/support/apps/rails_5.0_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.1.0 spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.1.0 spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.0.0 spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.0.0 spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.0.0 spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.0.0.beta.1 spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.0.0.beta.1 spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb
mongo_session_store-3.0.0.beta.1 spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb