Sha256: a15335a917b196bbbe643152af24e3bdc08fc274d2edc061be3171ac773cab39

Contents?: true

Size: 774 Bytes

Versions: 10

Compression:

Stored size: 774 Bytes

Contents

class CreateGeorgiaUsers < ActiveRecord::Migration

  def change
    create_table :georgia_users do |t|
      t.string :first_name
      t.string :last_name
      t.string :email,              :null => false, :default => ""
      t.string :encrypted_password, :null => false, :default => ""
      t.string   :reset_password_token
      t.datetime :reset_password_sent_at
      t.datetime :remember_created_at
      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

      t.timestamps
    end
    add_index :georgia_users, :email,                :unique => true
    add_index :georgia_users, :reset_password_token, :unique => true
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
georgia-0.8.0 db/migrate/012_create_georgia_users.rb
georgia-0.7.8 db/migrate/012_create_georgia_users.rb
georgia-0.7.7 db/migrate/012_create_georgia_users.rb
georgia-0.7.6 db/migrate/012_create_georgia_users.rb
georgia-0.7.5 db/migrate/012_create_georgia_users.rb
georgia-0.7.4 db/migrate/012_create_georgia_users.rb
georgia-0.7.3 db/migrate/012_create_georgia_users.rb
georgia-0.7.2 db/migrate/012_create_georgia_users.rb
georgia-0.7.1 db/migrate/012_create_georgia_users.rb
georgia-0.7.0 db/migrate/012_create_georgia_users.rb