feat/add S3 Target model and service for managing S3 targets in the application

This commit is contained in:
biersoeckli
2024-12-31 16:21:04 +00:00
parent bb23a11f11
commit bea201fc0c
13 changed files with 430 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
-- CreateTable
CREATE TABLE "S3Target" (
"id" TEXT NOT NULL PRIMARY KEY,
"name" TEXT NOT NULL,
"bucketName" TEXT NOT NULL,
"endpoint" TEXT NOT NULL,
"region" TEXT NOT NULL,
"accessKeyId" TEXT NOT NULL,
"secretKey" TEXT NOT NULL,
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME NOT NULL
);

View File

@@ -219,3 +219,16 @@ model Parameter {
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model S3Target {
id String @id @default(uuid())
name String
bucketName String
endpoint String
region String
accessKeyId String
secretKey String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}