-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version upgrade for OpenIddict.EntityFrameworkCore and Microsoft.Enti…
…tyFrameworkCore.
- Loading branch information
1 parent
7cdee20
commit 4c63751
Showing
3 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
Application/EdFi.Ods.AdminApi/Artifacts/MsSql/Structure/Admin/00003-EditApiAuthTables.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
-- SPDX-License-Identifier: Apache-2.0 | ||
-- Licensed to the Ed-Fi Alliance under one or more agreements. | ||
-- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. | ||
-- See the LICENSE and NOTICES files in the project root for more information. | ||
|
||
IF EXISTS (SELECT 1 FROM [INFORMATION_SCHEMA].[TABLES] WHERE TABLE_SCHEMA = 'adminapi' and TABLE_NAME = 'Applications') | ||
BEGIN | ||
ALTER TABLE adminapi.Applications | ||
ADD | ||
[ApplicationType] NVARCHAR(MAX) NULL, | ||
[JsonWebKeySet] NVARCHAR(MAX) NULL, | ||
[Settings] NVARCHAR(MAX) NULL; | ||
END | ||
|
||
IF EXISTS (SELECT 1 FROM [INFORMATION_SCHEMA].[TABLES] WHERE TABLE_SCHEMA = 'adminapi' and TABLE_NAME = 'Applications') | ||
BEGIN | ||
EXEC sp_rename 'adminapi.Applications.Type', 'ClientType', 'COLUMN'; | ||
END |
16 changes: 16 additions & 0 deletions
16
Application/EdFi.Ods.AdminApi/Artifacts/PgSql/Structure/Admin/00003-EditApiAuthTables.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
-- SPDX-License-Identifier: Apache-2.0 | ||
-- Licensed to the Ed-Fi Alliance under one or more agreements. | ||
-- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. | ||
-- See the LICENSE and NOTICES files in the project root for more information. | ||
|
||
ALTER TABLE adminapi.Applications | ||
ADD COLUMN | ||
ApplicationType VARCHAR NULL, | ||
ADD COLUMN | ||
JsonWebKeySet VARCHAR NULL, | ||
ADD COLUMN | ||
Settings VARCHAR NULL; | ||
|
||
|
||
ALTER TABLE adminapi.Applications | ||
RENAME COLUMN Type TO ClientType; |
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