Provides convenient method for versioning AR models.
- Add the module using composer:
"mata/mata-ar-history": "~1.0.0"
- Added migration (alter DocumentId from 64 to 128 characters)
- Fix for HistoryBehavior, added setting model attributes from revision
- Bug fix
- Fixed switch between revisions
- Updated logic for getting table alias
- Changed ActiveQuery::EVENT_BEFORE_PREPARE_STATEMENT to run only for models with HistoryBehavior
- Change for HistoryBehavior in setRevision() method where now all attributes are set (previously were set safe attributes only). This change also causes that validators are not attached into model object.
- Added missing document name on history overlay
- Added Migration with Status and Comments fields
- Updates for console application
- Added BootstrapInterface
- Used Revision::Status to indicate removed items
- Initial release.