Skip to content

Remove migrate from getUtilsAndReleasersFromOptions #566

@benjie

Description

@benjie

Currently migration happens here:

worker/src/lib.ts

Lines 502 to 505 in 91c950f

// Migrate
await withPgClient(function migrateWithPgClient(client) {
return migrate(compiledSharedOptions, client);
});

But we're calling that from makeWorkerUtils(). So building a worker utils forces a migration. Kinda makes the workerUtils.migrate() method pointless!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions