Organizing scripts #269
Replies: 2 comments 1 reply
-
I would recommend ordering the scripts. I think I would organize them the other way around, putting feature folders inside the The stored procedures, etc, can also be organized similarly, if it makes sense, but they can of course change over time, and maybe the change is related to a different feature, so it might be difficult as time goes by. There are a lot of ways to organize the scripts, of course, but, personally, I think, if you'd like some folder structure, I'd organize them as follows: up/0001-featureA etc |
Beta Was this translation helpful? Give feedback.
-
Ah ok, I didn't realize you could nest folders inside the special folders. |
Beta Was this translation helpful? Give feedback.
-
In the past, I have organized scripts that I ran manually in their own feature related folders.
Would it make sense to organize grate scripts in separate feature folders, each having its own
up
folder (and others as needed)?Or should I strive to continually add all migration scripts together and just continually add new scripts as needed?
Beta Was this translation helpful? Give feedback.
All reactions