Answer the question
In order to leave comments, you need to log in
How to migrate MySql workbench to laravel migration?
Let's say there is a ready-made database in MySql workbench, are there any ways to transfer the database to Laravel migration?
Do not offer hands
Answer the question
In order to leave comments, you need to log in
Do a mysqldump of the database, create a migration, and write code in the up() method that will execute SQL queries from the dump obtained in the first step. Of course, for a rollback, you will need to provide something in down ().
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question