refactor(applications): enable autodeploy by default

This commit is contained in:
Mauricio Siu
2024-07-21 01:36:18 -06:00
parent ba9fc59805
commit 6be6ec940a
4 changed files with 7 additions and 7 deletions

View File

@@ -122,7 +122,7 @@ export const applications = pgTable("application", {
owner: text("owner"),
branch: text("branch"),
buildPath: text("buildPath").default("/"),
autoDeploy: boolean("autoDeploy"),
autoDeploy: boolean("autoDeploy").$defaultFn(() => true),
// Docker
username: text("username"),
password: text("password"),

View File

@@ -37,7 +37,7 @@ export const compose = pgTable("compose", {
repository: text("repository"),
owner: text("owner"),
branch: text("branch"),
autoDeploy: boolean("autoDeploy"),
autoDeploy: boolean("autoDeploy").$defaultFn(() => true),
// Git
customGitUrl: text("customGitUrl"),
customGitBranch: text("customGitBranch"),