diff --git a/apps/server/prisma/migrations/20240428124644_add_tag_to_provider_api_key_encryption/migration.sql b/apps/server/prisma/migrations/20240428124644_add_tag_to_provider_api_key_encryption/migration.sql deleted file mode 100644 index 02f0d553..00000000 --- a/apps/server/prisma/migrations/20240428124644_add_tag_to_provider_api_key_encryption/migration.sql +++ /dev/null @@ -1,8 +0,0 @@ -/* - Warnings: - - - Added the required column `encryptionTag` to the `ProviderApiKey` table without a default value. This is not possible if the table is not empty. - -*/ --- AlterTable -ALTER TABLE "ProviderApiKey" ADD COLUMN "encryptionTag" TEXT NOT NULL; diff --git a/apps/server/prisma/migrations/20240515123857_add/migration.sql b/apps/server/prisma/migrations/20240515123857_add/migration.sql new file mode 100644 index 00000000..c0353e06 --- /dev/null +++ b/apps/server/prisma/migrations/20240515123857_add/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "ProviderApiKey" ADD COLUMN "encryptionTag" TEXT; diff --git a/apps/server/prisma/migrations/20240515125809_make/migration.sql b/apps/server/prisma/migrations/20240515125809_make/migration.sql new file mode 100644 index 00000000..6c796ecb --- /dev/null +++ b/apps/server/prisma/migrations/20240515125809_make/migration.sql @@ -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;