Sha256: 769c87c3f672fc52d11ac244a1c1f12618f16c07ab30c9babdf0c7cf429adb07
Contents?: true
Size: 735 Bytes
Versions: 28
Compression:
Stored size: 735 Bytes
Contents
class ClearanceCreateUsers < ActiveRecord::Migration def self.up create_table(:users) do |t| t.string :email t.string :email2 t.string :encrypted_password, :limit => 128 t.string :salt, :limit => 128 t.string :confirmation_token, :limit => 128 t.string :remember_token, :limit => 128 t.string :name, :limit => 128 t.integer :fbid t.boolean :email_confirmed, :default => false, :null => false t.timestamps end add_index :users, [:id, :confirmation_token] add_index :users, :email add_index :users, :fbid add_index :users, :remember_token end def self.down drop_table :users end end
Version data entries
28 entries across 28 versions & 1 rubygems