What versions & operating system are you using?
v4.62 - MacOS
Please provide a link to a minimal reproduction
drizzle-team/drizzle-orm#5266
Describe the Bug
As per this issue for drizzle-orm, with their upcoming v1, the migration files live in individual directories now.
Currently, wrangler only searches for .sql files in the provided migrations_dir exactly without searching subdirectories, resulting in it not finding the migrations it should apply.
While there are a variety of approaches to resolve this, I feel the simplest would be to search all subdirectories as well. Alternatively, glob matching might be more powerful.
Please provide any relevant error logs
No response
What versions & operating system are you using?
v4.62 - MacOS
Please provide a link to a minimal reproduction
drizzle-team/drizzle-orm#5266
Describe the Bug
As per this issue for drizzle-orm, with their upcoming v1, the migration files live in individual directories now.
Currently, wrangler only searches for
.sqlfiles in the providedmigrations_direxactly without searching subdirectories, resulting in it not finding the migrations it should apply.While there are a variety of approaches to resolve this, I feel the simplest would be to search all subdirectories as well. Alternatively, glob matching might be more powerful.
Please provide any relevant error logs
No response