ash_archival/documentation/topics/upgrading-to-1.0.md

8 lines
520 B
Markdown

## Upgrading to 1.0
## Implementation changed from base_filter to preparations
Before 1.0 of this library, a `base_filter` was added to the resource to hide archived items. To retain the old behavior (which includes database structure),
add the `base_filter` and `base_filter_sql` yourself. Additionally, set `base_filter? true` in the `archival` block to ensure that we don't apply the filter twice.
See the [getting started guide](documentation/tutorials/get-started-with-ash-archival.md) for more on base filters.