Skip to content

Commit fd27632

Browse files
committed
Remove public.integrationRuns code reference
1 parent 31c0d83 commit fd27632

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

backend/src/database/repositories/integrationRepository.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,6 @@ class IntegrationRepository {
137137

138138
// also mark integration runs as deleted
139139
const seq = SequelizeRepository.getSequelize(options)
140-
await seq.query(
141-
`update "integrationRuns" set state = :newState
142-
where "integrationId" = :integrationId and state in (:delayed, :pending, :processing)
143-
`,
144-
{
145-
replacements: {
146-
newState: IntegrationRunState.INTEGRATION_DELETED,
147-
delayed: IntegrationRunState.DELAYED,
148-
pending: IntegrationRunState.PENDING,
149-
processing: IntegrationRunState.PROCESSING,
150-
integrationId: id,
151-
},
152-
transaction,
153-
},
154-
)
155140

156141
await seq.query(
157142
`update integration.runs set state = :newState

0 commit comments

Comments
 (0)