Sha256: 96fdbd3810fe03864aeb99772876554e11d2ba896e519140f665c326419fd331
Contents?: true
Size: 912 Bytes
Versions: 10
Compression:
Stored size: 912 Bytes
Contents
class KryptoniteCreateUsers < ActiveRecord::Migration def self.up create_table :kryptonite_users do |t| t.string :login, :null => false t.string :name t.string :email t.integer :access_level, :null => false, :default => 0 t.string :crypted_password, :null => false t.string :password_salt, :null => false t.string :persistence_token t.string :single_access_token t.string :perishable_token t.integer :login_count, :null => false, :default => 0 t.integer :failed_login_count, :null => false, :default => 0 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 t.string :time_zone t.timestamps end end def self.down drop_table :kryptonite_users end end
Version data entries
10 entries across 10 versions & 1 rubygems