Closed cleargoal closed 7 months ago
We don't use down migrations in any package / project
We don't use down migrations in any package / project
it's a pity, this caused me some inconvenience
@cleargoal perhaps the goal of not including a down method
is to mitigate the risk of unintended data loss in production environments if php artisan migrate:rollback
were to be run by mistake.
@cleargoal perhaps the goal of not including a
down method
is to mitigate the risk of unintended data loss in production environments ifphp artisan migrate:rollback
were to be run by mistake.
Good reason. Thanks!
add function down() to migration with a purpose to developer may have this when publishing the package assets