Commit eb8fa43
committed
refactor(DemoDataMigrationService): migrate and delete engagements in batch
- Remove individual engagement deletion within the loop
- Add batch deletion of old engagements after successful migration
- Improve efficiency by reducing the number of delete operations1 parent c10bcfe commit eb8fa43
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | 170 | | |
175 | 171 | | |
176 | 172 | | |
177 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
178 | 180 | | |
179 | 181 | | |
180 | 182 | | |
| |||
0 commit comments