-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.rb
79 lines (71 loc) · 2.87 KB
/
schema.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20111110131756) do
create_table "login_tickets", :force => true do |t|
t.string "ticket"
t.string "client_hostname"
t.datetime "consumed"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "service_tickets", :force => true do |t|
t.string "ticket"
t.string "service"
t.string "client_hostname"
t.string "username"
t.integer "granted_by_tgt_id"
t.datetime "consumed"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "ticket_granting_tickets", :force => true do |t|
t.string "ticket"
t.string "client_hostname"
t.string "username"
t.text "extra_attributes"
t.datetime "consumed"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "user_providers", :force => true do |t|
t.integer "user_id", :null => false
t.string "provider", :null => false
t.string "uid", :null => false
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "users", :force => true do |t|
t.string "email", :null => false
t.string "crypted_password"
t.string "salt"
t.datetime "created_at"
t.datetime "updated_at"
t.string "activation_state"
t.string "activation_code"
t.datetime "activation_code_expires_at"
t.string "remember_me_token"
t.datetime "remember_me_token_expires_at"
t.string "reset_password_token"
t.datetime "reset_password_token_expires_at"
t.datetime "reset_password_email_sent_at"
t.datetime "last_login_at"
t.datetime "last_logout_at"
t.datetime "last_activity_at"
t.integer "failed_logins_count", :default => 0
t.datetime "lock_expires_at"
t.string "type"
end
add_index "users", ["activation_code"], :name => "index_users_on_activation_code"
add_index "users", ["email"], :name => "index_users_on_email"
add_index "users", ["last_logout_at", "last_activity_at"], :name => "index_users_on_last_logout_at_and_last_activity_at"
add_index "users", ["remember_me_token"], :name => "index_users_on_remember_me_token"
end