System Database Mode Switch (Single DB / Multi-DB Control)
W
WingsDevOps
This feature introduces a centralized system-level setting that allows the Super Admin to switch between:
Single Database Mode (default / development-friendly)
Multiple Database Mode (scalable / production-ready)
The primary goal is to avoid repeated and complex updates across multiple databases during active development. Until all core and required features are fully stable, the system will operate on a single shared database. Once the platform reaches feature completeness and stability, the Super Admin can seamlessly enable multiple database support.
Currently, every periodic update requires:
Applying schema changes
Syncing migrations
Handling data consistency
across multiple databases, which is time-consuming and error-prone during rapid development.
This feature eliminates unnecessary overhead by allowing development and early production stages to run on one database, and only enabling multi-database architecture when the system is ready.
A new configuration option is added under System Settings → Database Mode:
🔘 Single Database (All Tenants)
🔘 Multiple Databases (Per Tenant / Per Organization)
Only the Super Admin can view or modify this setting.