Drizzle TeamDT
Drizzle Team3y ago
2 replies
McLean 25

Can't find meta/_journal.json file when running migrate

Trying to run migrate() from a lambda function and I can't figure out why it's unable to find the _journal.json file. My structure is in the attached image.

In
db.ts
, I'm calling this
migrate
function like so:

export const migrateToLatest = async () => {
  await migrate(DB, { migrationsFolder: "./migrations" });
};
image.png
Was this page helpful?