Is the database migration of Laravel useful?

I mainly think that it is enough to create a database once. In the future, you can import directly under linux and windows using modified fields, using the mysql command line or navacate. It is also very simple to install doctrine/dbal dependencies if you use laravel. Why do I think it is a bit troublesome to use migrate? I would like to ask you the actual work of using laravel database migration? Or create the data table manually?

Mar.11,2022

Database migration function is mainly used for team collaboration, and database field modifications and updates are also stored on the git score


if you are an individual developer, creating tables for data migration is not very useful, but will increase development costs.
if you are in the company to develop a complete process, the development database in the local area network, the test database in the external network test server, online production database. At the beginning of the development, the table has been designed according to the functional requirements, and then the database has been built through the database management tool. At this time you need to change a function of the database, if you directly modify the table structure of one of the databases or add or decrease tables will cause other not Synchronize, if you use a table migration it is easy to do Synchronize.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea4b13-47ace.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea4b13-47ace.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?