Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overrides #reset_primary_key to modify @primary_key.
ar-multitenant expects that #primary_key returns single column instead of composite primary_keys for backward compatibilities. Previously overwriting #primary_key to return single pk, but since the timing for writing @primary_key has changed since Rails 7.2, this way is no longer available. Instead, overwriting `#reset_primary_key`, which handles calculating `@primary_key`.
- Loading branch information