Closed mringler closed 1 year ago
Base: 73.25% // Head: 88.30% // Increases project coverage by +15.05%
:tada:
Coverage data is based on head (
09473c8
) compared to base (b542279
). Patch coverage: 95.09% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
@dereuromark Thank you for merging. Documentation is at https://github.com/propelorm/propelorm.github.com/pull/433
Allows better management of foreign keys in archivable behavior.
Basically implements #1484 with tests, where FKs can be copied from the source table to an automatically generated archive table. Also, it adds the possibility to declare new FKs as part of the behavior declaration. Finally, it adds a parameter
sync
, which, if enabled, copies columns, indexes and optionally fks to an archive table that is not automatically generated, allowing for flexible overriding of archive table properties.I have added documentation for these options along with the different use cases they cover at propelorm/propelorm.github.com#433