2024-06-03 17:58:27 +08:00
|
|
|
from mgrctl.db.connection import guess_database
|
2024-02-11 22:10:29 +08:00
|
|
|
|
|
|
|
|
|
|
|
# The variable will contain an object of
|
|
|
|
# the MySQLDatabase or PostgresqlDatabase class as well as all connection data
|
|
|
|
# If in the future there will be more databases in the platform,
|
|
|
|
# they should be added here
|
|
|
|
auth_database = guess_database('auth')
|
|
|
|
dci_1_database = guess_database('dci_1')
|