Skip to content

Commit 444bc2f

Browse files
author
Andrey Helldar
authored
Merge pull request #31 from TheDragonCode/2.x
Update README.md
2 parents 2f2861b + 0928fab commit 444bc2f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Or manually update `require` block of `composer.json` and run `composer update`.
2323
```json
2424
{
2525
"require": {
26-
"dragon-code/laravel-migration-actions": "^2.0"
26+
"dragon-code/laravel-migration-actions": "^2.2"
2727
}
2828
}
2929
```
@@ -87,6 +87,8 @@ To run all of your outstanding actions, execute the `migrate:actions` Artisan co
8787
php artisan migrate:actions
8888
```
8989

90+
> You can also override the `success` and `failed` methods, which are called on success or failure processing.
91+
9092
#### Forcing Actions To Run In Production
9193

9294
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
250252
php artisan migrate:actions:reset
251253
```
252254

255+
> You can also override the `success` and `failed` methods, which are called on success or failure processing.
256+
253257
### Roll Back & Action Using A Single Command
254258

255259
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

Comments
 (0)