Search code examples
sqlmigrationrollbackphinx

How to rollback in phinx


I want to rollback to previous stage. I Google and found this command

phinx breakpoint -e development

But it is not working.


Solution

  • Phinx have this rollback command.

    phinx rollback -e development
    

    You can get further details from documentation.Phinx rollback