Repository navigation
0.2.1
Breaking changes
-
Polymorphic reference columns renamed to the CakePHP ecosystem convention (as used by cakephp-comments / cakephp-favorites / cakephp-file-storage):
entity_table→modelandentity_id→foreign_key, onworkflow_transitions,workflow_locks, andworkflow_timeouts. (#34)Upgrade: run
bin/cake migrations migrate --plugin Workflow— theRenamePolymorphicColumnsmigration renames the columns in place, preserving data (and is a safe no-op on fresh installs). If you passed theentityTableoption when attaching the behavior, rename that key tomodel.
Improvements
- The
foreign_keyvalidation no longer caps at 36 characters, so longer string primary keys are accepted under thestring/uuidcolumn types. (#34)
Since we just released the new major, this should still fit in, and there is an upgrade path to smooth things over.
Full Changelog: 0.2.0...0.2.1