Feature hasn't been suggested before.
Describe the enhancement you want to request
I am using Drizzle 1.0 beta/rc with out: './migrations',. When I run drizzle-kit generate, it creates migrations in nested folders:
migrations/
timestamp_random_name1/
migration.sql
timestamp_random_name2/
migration.sql
The issue is that cloudflares wrangler d1 migrations apply only looks for files in the directory it is configured with (i.e. "migrations_dir": "./migrations") , not in subfolders under that directory,
This means drizzle migrations are not being applies. I have to manually move migrations.sql back to the drizzle directory, and rename them in order for wrangler to find them.
I have not seen an option in Drizzle to disabled nested migrations
Feature hasn't been suggested before.
Describe the enhancement you want to request
I am using Drizzle 1.0 beta/rc with
out: './migrations',. When I rundrizzle-kit generate, it creates migrations in nested folders:The issue is that cloudflares
wrangler d1 migrations applyonly looks for files in the directory it is configured with (i.e."migrations_dir": "./migrations") , not in subfolders under that directory,This means drizzle migrations are not being applies. I have to manually move migrations.sql back to the drizzle directory, and rename them in order for wrangler to find them.
I have not seen an option in Drizzle to disabled nested migrations