Migrations Subfolders #47521
Unanswered
yusufalper
asked this question in
Ideas
Replies: 1 comment 2 replies
-
I'm curious as to what the use cases were:
Is that what you envisioned? Are there other use cases? |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
See the Pull Request
By default, Laravel expects all migration files to be placed directly in the migrations directory without any subdirectories.
I have written a Service Provider for this and I use it in almost every project of mine. When I researched it, I saw many people doing the same thing, and I don't think it would cause any harm. Can this feature be added to the framework? If the answer is negative, why shouldn't it be? In some cases, it can be really necessary because instead of creating new migrations, updates and changes are usually made on existing ones until the project reaches a certain stage, and this feature would be useful for categorizing migrations. By the way, there is more description in the gist link.
Beta Was this translation helpful? Give feedback.
All reactions