Skip to content

Remove migrate from getUtilsAndReleasersFromOptions #566

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions