chronark
Explore posts from serversDTDrizzle Team
•Created by chronark on 2/2/2024 in #help
"drizzle-orm/planetscale-serverless/migrator" in cf workers
the problem is that the
migrate
function tries to read the migration files from the file system, which is just not really a thing in workerd
, but I could embed these during docker build time12 replies
DTDrizzle Team
•Created by chronark on 2/2/2024 in #help
"drizzle-orm/planetscale-serverless/migrator" in cf workers
oh I'm not talking about d1, but mysql/pscale
but that's not really the point
I know I'm hacking here
the idea is to offer a docker image of our api (I have it running using
workerd
and have an api route on it, that would migrate the attached db + seed data
basically you'd do
I know there are other ways to achieve it, but this would be pretty nice12 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
thank you so much!
❤️
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
I can confirm, I can push over it now 🙂
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
thank you so much!
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
sweet, will do later tonight
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
sweet
lmk how we can help 🙂
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
I did now get the warning btw
This version of drizzle-kit is outdated Please update drizzle-kit package to the latest version 👍
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
thanks 🙂
it's not super important, deleting the table is somewhat fine for us
planetscale migrations are handling it correctly afterwards, it's just annoying when we edit our schema in a development branch
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
yeah
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
that should be it
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
yeah, let me write down the instructions
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
still fails on the 2nd push
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
aah stupid zed has cached the old types
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
Invalid input Either "uri" or "host", "database" are required for database connectionok hold on, this is a completely new error 😄
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
same error
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
ah yeah we have a few
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
give me a few min, I'll do a fresh try
70 replies
DTDrizzle Team
•Created by thdxr on 11/10/2023 in #help
Dropping primary keys every time
no it didn't ask
might be a monorepo thing?
70 replies