josegonzalez / cakephp-version

CakePHP3: plugin that facilitates versioned database entities
MIT License
51 stars 22 forks source link

Fix association type for field versions. #30

Closed robertpustulka closed 7 years ago

robertpustulka commented 7 years ago

Both association types must be HasMany. It's probably a copy-paste error from translate behavior where a field could only have one value in i18n table :)

If it's ok please merge it ASAP as I really need that fix :)

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.09%) to 91.86% when pulling 42577986626a6f13fb7d0c251fce10b0017d4804 on robertpustulka:fix-associations into b757edc808b07327a1fe99f52643e6947f2834c0 on josegonzalez:master.

robertpustulka commented 7 years ago

Thanks!