wrangler d1 migrations apply remote failing to find pending migrations to apply, ends without applyi

wrangler d1 migrations apply remote failing to find pending migrations to apply, ends without applying anything.
wrangler.toml
[[d1_databases]]
binding = "DB"
database_name = "name-db"
database_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
preview_database_id = "LOCAL-MY-DB" # Required for Pages local development
migrations_dir = "migrations"

[vars]

[[env.production.d1_databases]]
binding = "DB"
database_name = "name-db"
database_id = "8someguid63a"
migrations_dir = "migrations"

My migrations folder do have some unapplied .sql files, but it fails to find them

~/tess-fs/web/ [main] npx wrangler d1 migrations list name-db

⛅️ wrangler 3.83.0
-------------------

✅ No migrations to apply!
~/tess-fs/web/ [main
] npx wrangler d1 migrations list name-db --remote

⛅️ wrangler 3.83.0
-------------------

~/tess-fs/web/ [main*]
-------------------
Was this page helpful?