Skip to content

Commit 544bfcc

Browse files
committed
Wording
1 parent de64c88 commit 544bfcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In `up` method of migration definition you had to write code which is called onl
1515
It is standard practice to make database migrations irreversible.
1616
Migrations should be backward compatible and only go forward.
1717

18-
In Laravel, a missing or empty `down` method does not prevent rollback migration on execution of `php artisan migrate:rollback`.
18+
In Laravel, a missing or empty `down` method does not prevent rollback migration on execution of `php artisan migrate:rollback` CLI command.
1919
The state of the database will not change, but the migration will be removed from the registry of applied migrations,
2020
and the next execution of `php artisan migrate` will call the `up` method again.
2121
To prevent this behavior, all migrations should have `down` method that will throw an Exception, nothing more.

0 commit comments

Comments
 (0)