sequent icon indicating copy to clipboard operation
sequent copied to clipboard

Add support for multiple database applications

Open sam-cw opened this issue 3 years ago • 0 comments

In ActiveRecord 6+ multiple databases can be used under specific roles. For example a read-replica can be used for read only roles. This requires a different database configuration structure and connection handling.

This PR allows Sequent to connect to databases configured in this way, though due to the nature of event sourcing it can only connect to a single database, which should always be the primary database.

sam-cw avatar Aug 04 '22 15:08 sam-cw