Sha256: a657b486beba1837bb1e1d1c0dd565f52c0e5e55dbc20b25de7da0a03e518ec9

Contents?: true

Size: 1.14 KB

Versions: 11

Compression:

Stored size: 1.14 KB

Contents

# This migration comes from ecm_user_area (originally 20160115181043)
class CreateEcmUserAreaUsers < ActiveRecord::Migration[4.2]
  def change
    create_table :ecm_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

11 entries across 11 versions & 1 rubygems

Version Path
ecm_user_area2-4.0.2 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-4.0.1 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-3.1.2 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-3.1.1 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-3.1.0 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-3.0.3 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-3.0.2 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-3.0.1 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-3.0.0 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-2.3.0 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-2.2.0 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb