python-event-sourcery
python-event-sourcery copied to clipboard
Make database tables configurable
That way it's possible to:
- keep data in custom tables
- have multitenancy e.g. in separate tables
- have multiple destinations to save data, for example to achieve data separation between components in modular monolith
Idea: when configuring SQLAlchemy (and Django) storage & outbox strategies via Factory, pass custom model classes.