Sha256: 02c0dc4c8f981e1001c94ff7205cef5e662b30a8d55c9c64acd6100d082014c3

Contents?: true

Size: 416 Bytes

Versions: 4

Compression:

Stored size: 416 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.timestamps
      t.integer :login_count, :null => false, :default => 0
      t.string :login, :null => false
      t.string :crypted_password
      t.string :password_salt
      t.string :remember_token
      t.string :first_name
      t.string :last_name
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
authgasm-0.10.0 test_app/db/migrate/20081023040052_create_users.rb
authgasm-0.10.1 test_app/db/migrate/20081023040052_create_users.rb
authgasm-0.10.2 test_app/db/migrate/20081023040052_create_users.rb
authgasm-0.9.1 test_app/db/migrate/20081023040052_create_users.rb