Sha256: dfaafb65d8b541b4b3e05db82c3c96a62f2565399546a4f95257c61d3b48eb6f
Contents?: true
Size: 881 Bytes
Versions: 12
Compression:
Stored size: 881 Bytes
Contents
class CreateAdminUser < ActiveRecord::Migration def change create_table :admin_users do |t| t.string :name t.boolean :super, :default => false ## Database authenticatable t.string :email, :null => false, :default => "" t.string :encrypted_password, :null => false, :default => "" ## Encryptable t.string :password_salt ## Rememberable t.datetime :remember_created_at ## Trackable t.integer :sign_in_count, :default => 0 t.datetime :current_sign_in_at t.datetime :last_sign_in_at t.string :current_sign_in_ip t.string :last_sign_in_ip ## Lockable t.integer :failed_attempts, :default => 0 # SET lock strategy :failed_attempts t.string :unlock_token # SET unlock strategy :both t.datetime :locked_at t.timestamps end end end
Version data entries
12 entries across 12 versions & 1 rubygems