8000 Error when building due to missing acquireMigrationLock() in dialog · Issue #30 · aidenwallis/kysely-d1 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Error when building due to missing acquireMigrationLock() in dialog #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lukaso opened this issue Mar 10, 2025 · 0 comments
Open

Error when building due to missing acquireMigrationLock() in dialog #30

lukaso opened this issue Mar 10, 2025 · 0 comments

Comments

@lukaso
Copy link
lukaso commented Mar 10, 2025

src/db/client.ts:14:14 - error ts(2352): Conversion of type 'D1Dialect' to type 'Dialect' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
The types of 'createAdapter().acquireMigrationLock' are incompatible between these types.

14 dialect: new D1Dialect({ database: d1DB }) as Dialect,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0