TheDragonCode/laravel-deploy-operations

Publish migration

philipmclifton opened this issue · 5 comments

Description:

Is it possible to publish the migration file?

In general, yes, the usual copy operation. But why?

I understood what the problem is.

At the moment, the mechanism of this package uses the mechanism of migrations with some changes.

The peculiarity of migrations is that it does not create a table to create a table for storing migration statuses.

In the near future I will add the ability to automatically create a migration table when executing the art migrate command and its helpers.

@philipmclifton, I added a migrate:actions:fresh command to quickly restart actions on a clean base.

In case of rolling back migrations, the startup script can be one of the options:

php artisan migrate:fresh
php artisan migrate:actions:fresh
php artisan migrate:refresh
php artisan migrate:actions:fresh

The migrate:actions:fresh command released in version 2.8.0.