If you keep adding and changing columns in Ravel migrations, the migration files will pile up more and more. Is there a way to check the status of the latest tables at a glance?
You can check the state of the table by accessing mysql directly or using the tool, but I hope there is an easy way to check it with the arisan command in laravel.
"Especially, I would appreciate it the most if you could confirm something like ""I added a lot of migration files, but in the end, it's the same as doing $table->string('name',500);
."
The raw SQL output can be achieved by tapping ./artisan schema:dump --prune
, a new feature from Ravel 8.x, but there is no function to reverse Ravel's migration code at the moment.
© 2024 OneMinuteCode. All rights reserved.