feat: check security service (#639)

* feat: check security service

* feat: propegate version

* feat: with ident

* fix: lint

* chore: generate

* fix: change domain

* fix: panic recover

* fix: migrations

* fix: hash

* fix: dont check in tests
This commit is contained in:
Gabe Ruttner
2024-06-26 13:26:29 -07:00
committed by GitHub
parent 35979bea68
commit a8d42819ea
27 changed files with 1875 additions and 27 deletions

View File

@@ -0,0 +1,6 @@
-- Create "SecurityCheckIdent" table
CREATE TABLE "SecurityCheckIdent" ("id" uuid NOT NULL, PRIMARY KEY ("id"));
-- Create index "SecurityCheckIdent_id_key" to table: "SecurityCheckIdent"
CREATE UNIQUE INDEX "SecurityCheckIdent_id_key" ON "SecurityCheckIdent" ("id");
-- Insert Default Ident
INSERT INTO "SecurityCheckIdent" ("id") VALUES (gen_random_uuid());

View File

@@ -1,4 +1,4 @@
h1:ZGYfAQ/KZ2MUbudnGwgThmaBE6rOzhsOLeol2jOo5qA=
h1:SgNqZT++7yKEJ3fqsLNmn+nm/JhKU9+HDAInq0XAtI4=
20240115180414_init.sql h1:Ef3ZyjAHkmJPdGF/dEWCahbwgcg6uGJKnDxW2JCRi2k=
20240122014727_v0_6_0.sql h1:o/LdlteAeFgoHJ3e/M4Xnghqt9826IE/Y/h0q95Acuo=
20240126235456_v0_7_0.sql h1:KiVzt/hXgQ6esbdC6OMJOOWuYEXmy1yeCpmsVAHTFKs=
@@ -33,3 +33,4 @@ h1:ZGYfAQ/KZ2MUbudnGwgThmaBE6rOzhsOLeol2jOo5qA=
20240531200418_v0_30_1.sql h1:jPAKmGkP0Ecq1mUk9o2qr5S0fEV46oXicdlGh1TmBQg=
20240606145243_v0_31_0.sql h1:ALisDQv8IPGe6MiBSfE/Esdl5x4pzNHIVMavlsBXIPE=
20240625180548_v0.34.0.sql h1:77uSk0VF/jBvEPHCqWC4hmMQqUx4zVnMdTryGsIXt9s=
20240626195645_v0_35_0.sql h1:iBWeeBHZpNkUGzfg1z6k7Jy1RvuXiUPhH09Nmp6bZtQ=

View File

@@ -199,6 +199,13 @@ CREATE TABLE "SNSIntegration" (
CONSTRAINT "SNSIntegration_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "SecurityCheckIdent" (
"id" UUID NOT NULL,
CONSTRAINT "SecurityCheckIdent_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Service" (
"id" UUID NOT NULL,
@@ -779,6 +786,9 @@ CREATE UNIQUE INDEX "SNSIntegration_id_key" ON "SNSIntegration"("id" ASC);
-- CreateIndex
CREATE UNIQUE INDEX "SNSIntegration_tenantId_topicArn_key" ON "SNSIntegration"("tenantId" ASC, "topicArn" ASC);
-- CreateIndex
CREATE UNIQUE INDEX "SecurityCheckIdent_id_key" ON "SecurityCheckIdent"("id" ASC);
-- CreateIndex
CREATE UNIQUE INDEX "Service_id_key" ON "Service"("id" ASC);