Sha256: bb19b8a94658ed489a5ab5b6408daee921880f27b88bf4ed5f7a816d21b00944

Contents?: true

Size: 1.14 KB

Versions: 146

Compression:

Stored size: 1.14 KB

Contents

# This migration comes from cmor_user_area (originally 20160115181043)
class CreateCmorUserAreaUsers < ActiveRecord::Migration[4.2]
  def change
    create_table :cmor_user_area_users do |t|
      # Authlogic::ActsAsAuthentic::Email
      t.string :email

      # Authlogic::ActsAsAuthentic::Password
      t.string :crypted_password
      t.string :password_salt

      # Authlogic::ActsAsAuthentic::PersistenceToken
      t.string :persistence_token

      # Authlogic::ActsAsAuthentic::SingleAccessToken
      t.string :single_access_token

      # Authlogic::ActsAsAuthentic::PerishableToken
      t.string :perishable_token

      # Authlogic::Session::MagicColumns
      t.integer :login_count, default: 0, null: false
      t.integer :failed_login_count, default: 0, null: false
      t.datetime :last_request_at
      t.datetime :current_login_at
      t.datetime :last_login_at
      t.string :current_login_ip
      t.string :last_login_ip

      # Authlogic::Session::MagicStates
      t.boolean :active, default: false
      t.boolean :approved, default: false
      t.boolean :confirmed, default: false

      t.timestamps null: false
    end
  end
end

Version data entries

146 entries across 98 versions & 2 rubygems

Version Path
cmor_user_area-0.0.30.pre spec/dummy~/db/migrate/20190325182124_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.30.pre spec/dummy/db/migrate/20190715194222_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area_backend-0.0.29.pre spec/dummy/db/migrate/20190612114134_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.29.pre spec/dummy/db/migrate/20190715194222_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.29.pre spec/dummy~/db/migrate/20190325182124_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area_backend-0.0.28.pre spec/dummy/db/migrate/20190612114134_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.28.pre spec/dummy~/db/migrate/20190325182124_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.28.pre spec/dummy/db/migrate/20190715194222_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area_backend-0.0.27.pre spec/dummy/db/migrate/20190612114134_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.27.pre spec/dummy~/db/migrate/20190325182124_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.27.pre spec/dummy/db/migrate/20190715194222_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area_backend-0.0.26.pre spec/dummy/db/migrate/20190612114134_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.26.pre spec/dummy~/db/migrate/20190325182124_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.26.pre spec/dummy/db/migrate/20190715194222_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area_backend-0.0.25.pre spec/dummy/db/migrate/20190612114134_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.25.pre spec/dummy~/db/migrate/20190325182124_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.25.pre spec/dummy/db/migrate/20190715194222_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area_backend-0.0.24.pre spec/dummy/db/migrate/20190612114134_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.24.pre spec/dummy~/db/migrate/20190325182124_create_cmor_user_area_users.cmor_user_area.rb
cmor_user_area-0.0.24.pre spec/dummy/db/migrate/20190715194222_create_cmor_user_area_users.cmor_user_area.rb