mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-21 11:28:47 +00:00
Merge pull request #4924 from dmtrTm/fix/rollback-query-arg-limit
fix: avoid postgres 100-argument limit in findRollbackById
This commit is contained in:
@@ -106,19 +106,7 @@ export const findRollbackById = async (rollbackId: string) => {
|
|||||||
const result = await db.query.rollbacks.findFirst({
|
const result = await db.query.rollbacks.findFirst({
|
||||||
where: eq(rollbacks.rollbackId, rollbackId),
|
where: eq(rollbacks.rollbackId, rollbackId),
|
||||||
with: {
|
with: {
|
||||||
deployment: {
|
deployment: true,
|
||||||
with: {
|
|
||||||
application: {
|
|
||||||
with: {
|
|
||||||
environment: {
|
|
||||||
with: {
|
|
||||||
project: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user