How to create a migration file in specific folder

If we create custom modules, we might need to create migration files in our specific folder.

Patrick Wan
1 min readJan 2, 2023

--

In this article, I will share a tips to create migration file in specific folder.

Assuming you are using Laravel (5,6,7,8,9), you can create a migration file in a specific folder by doing the following:

--

--

Patrick Wan

My name’s Patrick. I’m a Software Developer, experience in Laravel, Vue Js, React Js, Livewire, Jquery, Codegniter, NPM, GIT. I have 5 years plus experience.