summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-04-18 15:48:54 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-04-28 22:28:36 +0530
commite5cf527f279964a8952de544526e8def226b98d7 (patch)
tree02971ecfe27884880d5917e37fc902b91ce803e5 /db/migrate
parent1541d1de18c3e7707ce1289f882b4c1262ec8c71 (diff)
downloadgitlab-ce-e5cf527f279964a8952de544526e8def226b98d7.tar.gz
Allow expiration of personal access tokens.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160418085954_add_column_expires_at_to_personal_access_tokens.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160418085954_add_column_expires_at_to_personal_access_tokens.rb b/db/migrate/20160418085954_add_column_expires_at_to_personal_access_tokens.rb
new file mode 100644
index 00000000000..9d99ebeadf5
--- /dev/null
+++ b/db/migrate/20160418085954_add_column_expires_at_to_personal_access_tokens.rb
@@ -0,0 +1,5 @@
+class AddColumnExpiresAtToPersonalAccessTokens < ActiveRecord::Migration
+ def change
+ add_column :personal_access_tokens, :expires_at, :datetime
+ end
+end