phingofficial/phing — pull request #134 by MSeven (2012-07-20 10:30:52+00:00)
Title: DbDeploy should not assume a SQL file missing --@Undo is only a rollback.

Currently, if you omit or forget the --@undo in an SQL migration, the split position fill default to false, which in turn will become 0. This will lead to the behavior, that the whole SQL file will be copied into the Undo file, while the update file will stay empty.

This Tiny patch checks if the undo tag was not found, and will set the split location to the end of the file, so that the entife sql file will be copied into the update SQL.