drizzle-kit push from JS
I'm setting up a seeding script for dev environment that wipes out the database (delete the
local.db
file - libsql/sqlite- then create a new one).
I need to apply the current schema before seeding. drizzle-kit
doesn't seem to have an API 😦2 Replies
Ok I found out about
drizzle-orm/libsql/migrator
but it seems there is a type issue with the config 🤔
Should I open an issue for this? Lemme try first if it works even if TS is not happy
nevermind, it's reading JSON, it's not an issue 😅
not my best code but it works 😄That LGTM