summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2011-11-15 11:08:05 +0400
committerNihad Abbasov <narkoz.2008@gmail.com>2011-11-15 11:08:05 +0400
commit003bf61258ea20128315076936f09ea198e56bcb (patch)
tree85345a86c9c72080b4319fffdb11010a9b2b4aac /db/migrate
parent8d74123d61e83c29b5449773e1c471d2e2aa126f (diff)
downloadgitlab-ce-003bf61258ea20128315076936f09ea198e56bcb.tar.gz
add auth token for users
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20111115063954_add_authentication_token_to_users.rb5
1 files changed, 5 insertions, 0 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