crzdeveloper/propel-versionable

Versionable is a propel behavior, fixed and improved in comparison to original propel versionable.

v1.2.0 2015-07-07 10:45 UTC

This package is not auto-updated.

Last update: 2020-07-28 13:34:42 UTC


README

Propel Versionable behavior, fixed version.

There is a bug in original Versionable behavior in Propel1: https://github.com/propelorm/Propel/pull/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: https://github.com/propelorm/Propel/pull/778

Installation

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>