Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We never explained how migrations paths work for shards. This fixes that and also adds the appropriate class setup. You no longer need to set a `default` shard as of #48353. In addition, `ApplicationRecord` should be used for the non-sharded db that also serves as the tenant/shard router. Then shards should get their own connection class since the schema differs.
- Loading branch information
1 parent
2872d55
commit 35e0ae4
Showing
1 changed file
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@eileencodes I think this docs change broke linting in CI. I've opened #49660 to try and resolve that failure.