summaryrefslogtreecommitdiff
path: root/internal/storage/migrations/mysql/V0010.FixConsentIDNotNull.down.sql
blob: a983ee60054fea9f173e1b637a7051f8daef7c07 (plain)
1
2
DELETE FROM oauth2_access_token_session WHERE challenge_id IS NULL OR subject IS NULL;
ALTER TABLE oauth2_access_token_session MODIFY challenge_id CHAR(36) NOT NULL, MODIFY subject CHAR(36) NOT NULL;