-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix: api key encrypted migrations
- Loading branch information
1 parent
16b3b36
commit 40f7b5b
Showing
3 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
8 changes: 0 additions & 8 deletions
8
...ver/prisma/migrations/20240428124644_add_tag_to_provider_api_key_encryption/migration.sql
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
apps/server/prisma/migrations/20240515123857_add/migration.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,2 @@ | ||
-- AlterTable | ||
ALTER TABLE "ProviderApiKey" ADD COLUMN "encryptionTag" TEXT; |
8 changes: 8 additions & 0 deletions
8
apps/server/prisma/migrations/20240515125809_make/migration.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,8 @@ | ||
/* | ||
Warnings: | ||
- Made the column `encryptionTag` on table `ProviderApiKey` required. This step will fail if there are existing NULL values in that column. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "ProviderApiKey" ALTER COLUMN "encryptionTag" SET NOT NULL; |