forked from hkamel/sonar-auth-aad
-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrading
Michael Johnson edited this page Jan 22, 2019
·
1 revision
The following notes list any actions that need to be done when upgrading from an older version of the plugin.
-
Version 1.1 RC1 and below of the plugin use the same value for the external identity property. As of SonarQube 7.2, this value is required to be unique. After installing 1.1 RC2 or newer of the plugin, you will need to make a manual query to create a unique value.
PostgreSQL:
UPDATE users SET external_identity = md5(random()::text) WHERE external_identity_provider = 'aad';
Microsoft SQL Server (T-SQL):
UPDATE users SET external_identity = NEWID() WHERE external_identity_provider = 'aad';
MySQL:
UPDATE users SET external_identity = MD5(RAND()) WHERE external_identity_provider = 'aad';