Sha256: 690640d8becd5d5bdd1550bac8936dd594b3e1d16cdb5fd2ab40e0af1e7ead5b

Contents?: true

Size: 553 Bytes

Versions: 3

Compression:

Stored size: 553 Bytes

Contents

class DeviseCreateUsers < ActiveRecord::Migration
  def change
    create_table(:users) do |t|
      t.string :username,           null: false, default: ""
      t.string :email,              null: false, default: ""
      t.string :encrypted_password, null: false, default: ""

      t.string   :reset_password_token
      t.datetime :reset_password_sent_at

      t.datetime :remember_created_at

      t.timestamps
    end

    add_index :users, :username,             unique: true
    add_index :users, :reset_password_token, unique: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devise-ios-rails-1.0.2 spec/dummy/db/migrate/20141127081722_devise_create_users.rb
devise-ios-rails-1.0.1 spec/dummy/db/migrate/20141127081722_devise_create_users.rb
devise-ios-rails-1.0.0 spec/dummy/db/migrate/20141127081722_devise_create_users.rb