If we create custom modules, we might need to create migration files in our specific folder. — 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: 1. Create a new folder in your project’s root directory and name it “migrations”. 2. In your terminal, navigate to your project’s root directory and run the following command: