From 15b5f4039bac67ae4b24e268271498378e92800d Mon Sep 17 00:00:00 2001 From: Jelmer Wijnja Date: Mon, 16 Jan 2023 09:50:34 +0100 Subject: [PATCH] Match mssql env variable names Matched mssql environment variable names to match the rest of the naming scheme used for configuring the database connection. Suggested in #49 --- config/database.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/database.py b/config/database.py index 091d99f..a0a5880 100644 --- a/config/database.py +++ b/config/database.py @@ -43,11 +43,11 @@ }, "mssql": { "driver": "mssql", - "host": env("MSSQL_DATABASE_HOST"), - "user": env("MSSQL_DATABASE_USER"), - "password": env("MSSQL_DATABASE_PASSWORD"), - "database": env("MSSQL_DATABASE_DATABASE"), - "port": env("MSSQL_DATABASE_PORT"), + "host": env("DB_HOST"), + "user": env("DB_USER"), + "password": env("DB_PASSWORD"), + "database": env("DB_DATABASE"), + "port": env("DB_PORT"), "prefix": "", "log_queries": env("DB_LOG"), },