When you run the migration, the change function runs. When you run the rollback then phinx uses the change method to work out how to run the equivalent of the down method.