👋 I am having trouble running my migrations on Prod. Works file locally, and I can manually copy a

👋 I am having trouble running my migrations on Prod. Works file locally, and I can manually copy and paste them into the console fine. But when I try "wrangler d1 migrations apply xxx" I get "No migrations to apply!" even though it's a fresh database.

I can see there is a table "sqlite_schema". Does this track what migrations have been applied so far?

I thought I'd try to rename that table, and see if that resets my migration point to see if it starts fresh - but I get an error "table sqlite_master may not be modified"
Was this page helpful?