@dosgato/api 1.6.9 → 1.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/migrations.js +1 -1
- package/package.json +1 -1
package/dist/migrations.js
CHANGED
|
@@ -173,7 +173,7 @@ const dgMigrations = [
|
|
|
173
173
|
SELECT assets.id AS internalId, assets.name, storage.data
|
|
174
174
|
FROM assets LEFT JOIN storage on assets.dataId = storage.id
|
|
175
175
|
`);
|
|
176
|
-
const batched = batch(assets,
|
|
176
|
+
const batched = batch(assets, 10);
|
|
177
177
|
let counter = 0;
|
|
178
178
|
for (const assetBatch of batched) {
|
|
179
179
|
if (counter % 1000 === 0)
|