Skip to content

Instantly share code, notes, and snippets.

@ohokay
ohokay / Authlogic migration
Created March 14, 2009 06:41
authlogic migration with all the hidden fields
class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
t.string :name
t.string :email, :null => false
t.string :login, :null => false
t.string :state
t.integer :account_id, :null => false
t.string :crypted_password, :null => false
t.string :password_salt, :null => false