Sha256: 3d1b1b5e8344f1e1b7c076f37d315692a0fe5c4322dfc4be5b525f808b513fdc

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

class CreateUsersTable < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.database_authenticatable :null => false
      # t.recoverable
      # t.rememberable
      # t.trackable

      # t.encryptable
      # t.confirmable
      # t.lockable :lock_strategy => :failed_attempts, :unlock_strategy => :both
      # t.token_authenticatable
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongo_session_store-rails3-3.0.6 spec/rails_3.0_app/db/migrate/20120222195914_create_users_table.rb
mongo_session_store-rails3-3.0.5 spec/rails_3.0_app/db/migrate/20120222195914_create_users_table.rb