fix: avoid postgres 100-argument limit in schedule, volume backup and port queries

This commit is contained in:
Mauricio Siu
2026-07-28 15:19:56 -06:00
parent 069939e8f9
commit 7047e4f199
4 changed files with 18 additions and 6 deletions
+6
View File
@@ -180,6 +180,9 @@ export const initializeJobs = async () => {
where: eq(schedules.enabled, true),
with: {
application: {
columns: {
applicationId: true,
},
with: {
server: true,
},
@@ -227,6 +230,9 @@ export const initializeJobs = async () => {
where: eq(volumeBackups.enabled, true),
with: {
application: {
columns: {
applicationId: true,
},
with: {
server: true,
},