DT
Drizzle TeamMcLean 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:
M
McLean 25•390d ago
Error stack:
Figured it out using relative path from root:
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
7.1KMembers
View on DiscordWant results from more Discord servers?
More PostsWrong type on decimalsHello, I have encountered something interesting. The first screenshot shows what I'm inserting into CheckHello there, from this discussion: https://discord.com/channels/1043890932593987624/1090486363251544cascadesI know you can add `.references()` to set up foreign keys in a table definition, but how do you set jsonb field definition.What's the right way to define a jsonb field? I have a type `type MetaData = {keywords?: string[];}"Extend" tables by other tablesHey all,
first of all great work with drizzle.
Haven't had the time to play around with it so far. Bmaximum call stack exceededWeird bug where whenever I add a `where` `eq` clause getting maximum call stack exceeded