Merge pull request #4924 from dmtrTm/fix/rollback-query-arg-limit

fix: avoid postgres 100-argument limit in findRollbackById
(cherry picked from commit 069939e8f9)
This commit is contained in:
Mauricio Siu
2026-08-05 23:48:00 -06:00
committed by Mauricio Siu
parent 6e84f39a9f
commit c6607f3a19
+1 -13
View File
@@ -105,19 +105,7 @@ export const findRollbackById = async (rollbackId: string) => {
const result = await db.query.rollbacks.findFirst({
where: eq(rollbacks.rollbackId, rollbackId),
with: {
deployment: {
with: {
application: {
with: {
environment: {
with: {
project: true,
},
},
},
},
},
},
deployment: true,
},
});