mirror of
https://github.com/biersoeckli/QuickStack.git
synced 2026-02-11 05:59:23 -06:00
feat/add S3 Target model and service for managing S3 targets in the application
This commit is contained in:
12
prisma/migrations/20241231161704_migration/migration.sql
Normal file
12
prisma/migrations/20241231161704_migration/migration.sql
Normal 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
|
||||
);
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user