Skip to content

Instantly share code, notes, and snippets.

@threetee
Created August 19, 2009 18:41
Show Gist options
  • Save threetee/170562 to your computer and use it in GitHub Desktop.
Save threetee/170562 to your computer and use it in GitHub Desktop.
create_table "externalusers", :force => true do |t|
t.string "login"
t.string "crypted_password"
t.string "password_salt"
t.string "persistence_token"
t.integer "login_count"
t.datetime "last_request_at"
t.datetime "last_login_at"
t.datetime "current_login_at"
t.string "last_login_ip"
t.string "current_login_ip"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "customer_id"
t.string "perishable_token", :default => "", :null => false
t.string "email", :default => "", :null => false
end
create_table "projects", :force => true do |t|
t.integer "customer_id"
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "projects_users", :id => false, :force => true do |t|
t.integer "project_id", :default => 0, :null => false
t.integer "user_id", :default => 0, :null => false
t.datetime "created_at"
t.datetime "updated_at"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment