diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-04-15 20:54:20 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-04-28 22:28:36 +0530 |
commit | 6d76f14f54eb1af0e5c29eff1b8f5e70d2264ffd (patch) | |
tree | 070356b310ca52d57c18b43295218455cddd1d0c /db | |
parent | e2a4051cc3f4192849d7571bf83b0d9a7b2cbd4e (diff) | |
download | gitlab-ce-6d76f14f54eb1af0e5c29eff1b8f5e70d2264ffd.tar.gz |
Allow revoking personal access tokens.
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20160415144643_add_column_revoked_to_personal_access_tokens.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160415144643_add_column_revoked_to_personal_access_tokens.rb b/db/migrate/20160415144643_add_column_revoked_to_personal_access_tokens.rb new file mode 100644 index 00000000000..8eecdfc5a1c --- /dev/null +++ b/db/migrate/20160415144643_add_column_revoked_to_personal_access_tokens.rb @@ -0,0 +1,5 @@ +class AddColumnRevokedToPersonalAccessTokens < ActiveRecord::Migration + def change + add_column :personal_access_tokens, :revoked, :boolean, default: false + end +end |