Merge pull request #4931 from Dokploy/fix/postgres-100-arg-limit-finders

fix: avoid postgres 100-argument limit in schedule, volume backup and port queries
(cherry picked from commit deebf0f107)
This commit is contained in:
Mauricio Siu
2026-08-05 23:48:00 -06:00
committed by Mauricio Siu
parent c6607f3a19
commit 43229c89da
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,
},