Migrations import in modular file structure #515
Unanswered
krishna-404
asked this question in
Q&A
Replies: 1 comment
-
|
Hi! Not supported, not planned. All migrations are in the same folder, and it's easy for humans and for the script to know what is the order of migrations. It's technically possible to keep incremental prefixes while keeping migrations in the nested folders, like this: But it's not as clear for humans. I'm not sure if this would be beneficial. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Is there a way to achieve the below where the migration files are in their modular file structure?
I saw the implementation with field
migrationsbut I am not using vite & typescript is throwing errorThe 'import.meta' meta-property is not allowed in files which will build into CommonJS output.ts(1470).Thanks!
Beta Was this translation helpful? Give feedback.
All reactions