Sts addition, kms updates, context object, improved exception handling
This commit is contained in:
21
prisma/migrations/20241220053141_/migration.sql
Normal file
21
prisma/migrations/20241220053141_/migration.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "KmsAlias" (
|
||||
"name" TEXT NOT NULL,
|
||||
"accountId" TEXT NOT NULL,
|
||||
"region" TEXT NOT NULL,
|
||||
"kmsKeyId" TEXT NOT NULL,
|
||||
|
||||
PRIMARY KEY ("accountId", "region", "name")
|
||||
);
|
||||
|
||||
-- CreateTable
|
||||
CREATE TABLE "KmsKey" (
|
||||
"id" TEXT NOT NULL PRIMARY KEY,
|
||||
"usage" TEXT NOT NULL,
|
||||
"description" TEXT NOT NULL,
|
||||
"keySpec" TEXT NOT NULL,
|
||||
"key" TEXT NOT NULL,
|
||||
"accountId" TEXT NOT NULL,
|
||||
"region" TEXT NOT NULL,
|
||||
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
Reference in New Issue
Block a user