Sha256: d87f7960c09fb2a5b2c01f554a9753567298edf31fb14deb41dfb6edef37ec87

Contents?: true

Size: 480 Bytes

Versions: 11

Compression:

Stored size: 480 Bytes

Contents

class CreateClearanceUsers < ActiveRecord::Migration
  def self.up
    create_table :users  do |t|
      t.timestamps :null => false
      t.string :email, :null => false
      t.string :encrypted_password, :limit => 128, :null => false
      t.string :confirmation_token, :limit => 128
      t.string :remember_token, :limit => 128, :null => false
    end

    add_index :users, :email
    add_index :users, :remember_token
  end

  def self.down
    drop_table :users
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
clearance-1.2.0 db/migrate/20110111224543_create_clearance_users.rb
clearance-1.1.0 db/migrate/20110111224543_create_clearance_users.rb
clearance-1.0.1 db/migrate/20110111224543_create_clearance_users.rb
clearance-1.0.0 db/migrate/20110111224543_create_clearance_users.rb
clearance-1.0.0.rc8 db/migrate/20110111224543_create_clearance_users.rb
clearance-1.0.0.rc7 db/migrate/20110111224543_create_clearance_users.rb
clearance-1.0.0.rc6 db/migrate/20110111224543_create_clearance_users.rb
clearance-1.0.0.rc4 db/migrate/20110111224543_create_clearance_users.rb
clearance-1.0.0.rc3 db/migrate/20110111224543_create_clearance_users.rb
clearance-1.0.0.rc2 db/migrate/20110111224543_create_clearance_users.rb
clearance-1.0.0.rc1 db/migrate/20110111224543_create_clearance_users.rb