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,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~