diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2011-11-15 11:08:05 +0400 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2011-11-15 11:08:05 +0400 |
commit | 003bf61258ea20128315076936f09ea198e56bcb (patch) | |
tree | 85345a86c9c72080b4319fffdb11010a9b2b4aac /db | |
parent | 8d74123d61e83c29b5449773e1c471d2e2aa126f (diff) | |
download | gitlab-ce-003bf61258ea20128315076936f09ea198e56bcb.tar.gz |
add auth token for users
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20111115063954_add_authentication_token_to_users.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20111115063954_add_authentication_token_to_users.rb b/db/migrate/20111115063954_add_authentication_token_to_users.rb new file mode 100644 index 00000000000..84433656d6c --- /dev/null +++ b/db/migrate/20111115063954_add_authentication_token_to_users.rb @@ -0,0 +1,5 @@ +class AddAuthenticationTokenToUsers < ActiveRecord::Migration + def change + add_column :users, :authentication_token, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index c9abdef4f7a..83f916d4acf 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20111111093150) do +ActiveRecord::Schema.define(:version => 20111115063954) do create_table "issues", :force => true do |t| t.string "title" @@ -103,6 +103,7 @@ ActiveRecord::Schema.define(:version => 20111111093150) do t.string "skype", :default => "", :null => false t.string "linkedin", :default => "", :null => false t.string "twitter", :default => "", :null => false + t.string "authentication_token" end add_index "users", ["email"], :name => "index_users_on_email", :unique => true |