feat: new service - weblate

This commit is contained in:
Andras Bacsai
2022-08-31 15:02:05 +02:00
parent a667435ef2
commit 40e8dd4a8d
12 changed files with 413 additions and 22 deletions

View File

@@ -200,7 +200,7 @@ model Build {
commit String?
pullmergeRequestId String?
forceRebuild Boolean @default(false)
sourceBranch String?
sourceBranch String?
branch String?
status String? @default("queued")
createdAt DateTime @default(now())
@@ -348,6 +348,7 @@ model Service {
wordpress Wordpress?
appwrite Appwrite?
searxng Searxng?
weblate Weblate?
}
model PlausibleAnalytics {
@@ -559,3 +560,18 @@ model Searxng {
updatedAt DateTime @updatedAt
service Service @relation(fields: [serviceId], references: [id])
}
model Weblate {
id String @id @default(cuid())
adminPassword String
postgresqlHost String
postgresqlPort Int
postgresqlUser String
postgresqlPassword String
postgresqlDatabase String
postgresqlPublicPort Int?
serviceId String @unique
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
service Service @relation(fields: [serviceId], references: [id])
}