Recommend this page to a friend! |
Classes of Zacchaeus Bolaji | Laravel Migration Rollback | README.md | Download |
|
DownloadLaravel Revert DB MigrateLaravel Revert DB Migrate gives you the option to run a specific migration or run migrations in a specified folder. it also allows you revert specific migration(s)
InstallationYou can install the package via composer:
Laravel 5.5 and aboveThe package will automatically register itself, so you can start using it immediately. Laravel 5.4 and olderIn Laravel version 5.4 and older, you have to add the service provider in
LumenAfter installing the package, you will have to register it in
UsageAfter installing the package, you will now see a new Migrate specific fileYou can migrate a specific file inside your
Reverting migrationsYou can revert migrations inside your project using:
|