Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/server/src/db/schema/mariadb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ export const apiUpdateMariaDB = createSchema
.partial()
.extend({
mariadbId: z.string().min(1),
dockerImage: z.string().optional(),
})
.omit({ serverId: true });

Expand Down
1 change: 1 addition & 0 deletions packages/server/src/db/schema/mongo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export const apiUpdateMongo = createSchema
.partial()
.extend({
mongoId: z.string().min(1),
dockerImage: z.string().optional(),
})
.omit({ serverId: true });

Expand Down
1 change: 1 addition & 0 deletions packages/server/src/db/schema/mysql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ export const apiUpdateMySql = createSchema
.partial()
.extend({
mysqlId: z.string().min(1),
dockerImage: z.string().optional(),
})
.omit({ serverId: true });

Expand Down
1 change: 1 addition & 0 deletions packages/server/src/db/schema/postgres.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ export const apiUpdatePostgres = createSchema
.partial()
.extend({
postgresId: z.string().min(1),
dockerImage: z.string().optional(),
})
.omit({ serverId: true });

Expand Down
1 change: 1 addition & 0 deletions packages/server/src/db/schema/redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ export const apiUpdateRedis = createSchema
.partial()
.extend({
redisId: z.string().min(1),
dockerImage: z.string().optional(),
})
.omit({ serverId: true });

Expand Down
Loading