mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
6 lines
528 B
SQL
6 lines
528 B
SQL
DELETE FROM oauth2_consent_session WHERE subject IN(SELECT identifier FROM user_opaque_identifier WHERE username = '' AND service IN('openid', 'openid_connect'));
|
|
DELETE FROM user_opaque_identifier WHERE username = '' AND service IN('openid', 'openid_connect');
|
|
ALTER TABLE oauth2_consent_session ALTER COLUMN subject DROP NOT NULL;
|
|
ALTER TABLE oauth2_consent_session ALTER COLUMN subject SET DEFAULT NULL;
|
|
ALTER TABLE oauth2_consent_session RENAME CONSTRAINT oauth2_consent_subject_fkey TO oauth2_consent_session_subject_fkey;
|