You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the code, there is a function tracked? which should allow a given Repo to provide alternate behavior. However, the tracked_schemas config setting is referenced several other places, most importantly in ExAudit.Tracking.compare_versions/3 which results it in not being possible to customize the behavior to track all schemas by default. This function probably could just skip the check, as it appears that Repo will only attempt to track changes if tracked?/1 returns true. Could probably PR this if this approach makes sense
The text was updated successfully, but these errors were encountered:
superchris
changed the title
allow repo to override tracked?/ to avoid specifying all tracked schemas
allow repo to override tracked?/1 to avoid specifying all tracked schemas
Dec 4, 2024
In the code, there is a function
tracked?
which should allow a given Repo to provide alternate behavior. However, thetracked_schemas
config setting is referenced several other places, most importantly inExAudit.Tracking.compare_versions/3
which results it in not being possible to customize the behavior to track all schemas by default. This function probably could just skip the check, as it appears that Repo will only attempt to track changes iftracked?/1
returns true. Could probably PR this if this approach makes senseThe text was updated successfully, but these errors were encountered: