Low level bulk operations (#2592)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-02-07 11:46:28 +07:00
committed by GitHub
parent 59c53a09f2
commit 9fef46b059
21 changed files with 684 additions and 405 deletions
+2 -1
View File
@@ -28,7 +28,8 @@ export default async () => {
if (client === undefined) {
client = await createClient(connect)
for (const op of migrateOperations) {
await op.upgrade(client)
console.log('Migrate', op[0])
await op[1].upgrade(client)
}
}
// Check if we had dev hook for client.