-
-
Notifications
You must be signed in to change notification settings - Fork 964
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
persistence/sql/migrations/sql/20230614000001000000_hydra_login_challenge_format.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ALTER TABLE selfservice_login_flows ADD COLUMN oauth2_login_challenge UUID NULL; | ||
ALTER TABLE selfservice_registration_flows ADD COLUMN oauth2_login_challenge UUID NULL; | ||
-- ALTER TABLE selfservice_login_flows ADD COLUMN oauth2_login_challenge UUID NULL; | ||
-- ALTER TABLE selfservice_registration_flows ADD COLUMN oauth2_login_challenge UUID NULL; | ||
|
||
ALTER TABLE selfservice_login_flows DROP COLUMN oauth2_login_challenge_data; | ||
ALTER TABLE selfservice_registration_flows DROP COLUMN oauth2_login_challenge_data; |
4 changes: 2 additions & 2 deletions
4
...tence/sql/migrations/sql/20230614000001000000_hydra_login_challenge_format.mysql.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ALTER TABLE selfservice_login_flows ADD COLUMN oauth2_login_challenge CHAR(36) NULL; | ||
ALTER TABLE selfservice_registration_flows ADD COLUMN oauth2_login_challenge CHAR(36) NULL; | ||
-- ALTER TABLE selfservice_login_flows ADD COLUMN oauth2_login_challenge CHAR(36) NULL; | ||
-- ALTER TABLE selfservice_registration_flows ADD COLUMN oauth2_login_challenge CHAR(36) NULL; | ||
|
||
ALTER TABLE selfservice_login_flows DROP COLUMN oauth2_login_challenge_data; | ||
ALTER TABLE selfservice_registration_flows DROP COLUMN oauth2_login_challenge_data; |
4 changes: 2 additions & 2 deletions
4
...nce/sql/migrations/sql/20230614000001000000_hydra_login_challenge_format.sqlite3.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ALTER TABLE `selfservice_login_flows` ADD COLUMN `oauth2_login_challenge` CHAR(36) NULL; | ||
ALTER TABLE `selfservice_registration_flows` ADD COLUMN `oauth2_login_challenge` CHAR(36) NULL; | ||
-- ALTER TABLE `selfservice_login_flows` ADD COLUMN `oauth2_login_challenge` CHAR(36) NULL; | ||
-- ALTER TABLE `selfservice_registration_flows` ADD COLUMN `oauth2_login_challenge` CHAR(36) NULL; | ||
|
||
ALTER TABLE "selfservice_login_flows" DROP COLUMN "oauth2_login_challenge_data"; | ||
ALTER TABLE "selfservice_registration_flows" DROP COLUMN "oauth2_login_challenge_data"; |
5 changes: 3 additions & 2 deletions
5
persistence/sql/migrations/sql/20230614000001000000_hydra_login_challenge_format.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
ALTER TABLE selfservice_login_flows DROP COLUMN oauth2_login_challenge; | ||
ALTER TABLE selfservice_registration_flows DROP COLUMN oauth2_login_challenge; | ||
-- Drop columns in a later migration. | ||
-- ALTER TABLE selfservice_login_flows DROP COLUMN oauth2_login_challenge; | ||
-- ALTER TABLE selfservice_registration_flows DROP COLUMN oauth2_login_challenge; | ||
|
||
ALTER TABLE selfservice_login_flows ADD COLUMN oauth2_login_challenge_data TEXT NULL; | ||
ALTER TABLE selfservice_registration_flows ADD COLUMN oauth2_login_challenge_data TEXT NULL; |