Allow other files to be imported inside migrations #788
Closed
d4sein
started this conversation in
Feature Ideas
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
A feature similar to psql's \include, where you give a path to a file and the migration runs it as though it had been typed there. This would greatly benefit teams that separate their functions and data types from migrations.
An example of what I think would be cool:
Thanks!
Edit: Realized this wouldn't work because clean migrations would inject the latest version of files and it would mess up dependencies..
Beta Was this translation helpful? Give feedback.
All reactions