You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Or manually update `require` block of `composer.json` and run `composer update`.
23
23
```json
24
24
{
25
25
"require": {
26
-
"dragon-code/laravel-migration-actions": "^2.0"
26
+
"dragon-code/laravel-migration-actions": "^2.2"
27
27
}
28
28
}
29
29
```
@@ -87,6 +87,8 @@ To run all of your outstanding actions, execute the `migrate:actions` Artisan co
87
87
php artisan migrate:actions
88
88
```
89
89
90
+
> You can also override the `success` and `failed` methods, which are called on success or failure processing.
91
+
90
92
#### Forcing Actions To Run In Production
91
93
92
94
Some action operations are destructive, which means they may cause you to lose data. In order to protect you from running these commands against your production database, you will
@@ -250,6 +252,8 @@ The `migrate:actions:reset` command will roll back all of your application's mig
250
252
php artisan migrate:actions:reset
251
253
```
252
254
255
+
> You can also override the `success` and `failed` methods, which are called on success or failure processing.
256
+
253
257
### Roll Back & Action Using A Single Command
254
258
255
259
The `migrate:actions:refresh` command will roll back all of your migrations and then execute the `migrate:actions` command. This command effectively re-creates your entire
0 commit comments