Propel Versionable behavior, fixed version.
There is a bug in original Versionable behavior in Propel1: propelorm/Propel#693 . Propel generates incorrect PHP and SQL files in some cases. The pull request has not been accepted yet, that's why I had to create my own fixed version.
The fixed version uses the original code and this pull request as a fix + unit tests: propelorm/Propel#778
Using Composer:
{
"require": {
"crzdeveloper/propel-versionable": "1.*"
}
}
Then register behavior in either your propel.ini
or buid.properties
configuration file:
propel.behavior.versionable.class = <path to crzdeveloper/propel-versionable>