Sha256: 5f5661a2ffd85add8fc7df589031de5543bd57c70d75ca44daf208f67b6ac652

Contents?: true

Size: 1.13 KB

Versions: 6

Compression:

Stored size: 1.13 KB

Contents

# This migration comes from ecm_user_area (originally 20160115181043)
class CreateEcmUserAreaUsers < ActiveRecord::Migration
  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

6 entries across 6 versions & 1 rubygems

Version Path
ecm_user_area2-2.0.0 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-1.2.10 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-1.2.9 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-1.2.8 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-1.2.6 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb
ecm_user_area2-1.0.3 spec/dummy/db/migrate/20160115192220_create_ecm_user_area_users.ecm_user_area.rb