Stigin
Explore posts from serversDTDrizzle Team
•Created by Stigin on 6/13/2024 in #help
D1 Failing Migraton on Prod
So I fixed this butting the --remote to the script.
3 replies
DTDrizzle Team
•Created by Stigin on 6/13/2024 in #help
D1 Failing Migraton on Prod
Hi All,
I'm running migrations using the following scripts:
"d1:gen": "drizzle-kit generate --config=drizzle.config.ts",
"d1:mig:local": "wrangler d1 migrations apply vertex --local",
"d1:mig:prod": "wrangler d1 migrations apply vertex"
Migrations apply fine to the local D1 instance but finds no migrations for prod despite the database just being spun up with a new schema to apply?
Any help much appreciated!!
3 replies