kra-new/app/system/internal/data/README.md

13 lines
550 B
Markdown

# Data Layer
`data` owns database clients, persistence models, migrations, configuration
watching, and repository implementations.
- `repository/`: system repositories and table persistence
- `payment/`: payment configuration and payment-order persistence
- root files: shared database lifecycle, runtime clients, integration-config
storage, data-scope auditing, and migration orchestration
Root files intentionally stay in one package because they share `Data` state and
reload locks. Do not split them into packages only to reduce file count.