drizzle-kit generate with dynamic Schema
Hello,
I work in a context where each dev has its own schema in the DB. When generating migrations with drizzle-kit generate, the migration files contain the hardcoded schema value
ex: CREATE TABLE "mySchema1"."myTable"
It makes it impossible to have a single set of migration files, independant of schemas, that all developers can run.
Do you see a way I could make this work ? Ideally, migration files could be generated with a placeholder schema that would be dynamically set when calling migrate().
Thanks 🙏
0 Replies