diff options
author | Dylan William Hardison <dylan@mozilla.com> | 2015-06-16 21:35:13 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2015-06-16 21:35:13 +0200 |
commit | d2d610f447e9d2e100ee1634fac6c69f81ca1a1c (patch) | |
tree | f9f11fd7053745d0ad05c435684d6eef146f6973 /Bugzilla/Install | |
parent | a48e145a7b49d54937cc8672d4e2e71780a08e15 (diff) | |
download | bugzilla-d2d610f447e9d2e100ee1634fac6c69f81ca1a1c.tar.gz bugzilla-d2d610f447e9d2e100ee1634fac6c69f81ca1a1c.tar.xz |
Bug 1174057: Backport upstream bug 1170722 to add app_ids for auth delegation
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r-- | Bugzilla/Install/DB.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index ba08a3537..7e7362443 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -725,6 +725,11 @@ sub update_table_definitions { $dbh->bz_add_column('keyworddefs', 'is_active', {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'TRUE'}); + $dbh->bz_add_column('user_api_keys', 'app_id', + {TYPE => 'varchar(64)'}); + $dbh->bz_add_index('user_api_keys', 'user_api_keys_user_id_app_id_idx', + [qw(user_id app_id)]); + ################################################################ # New --TABLE-- changes should go *** A B O V E *** this point # ################################################################ |