update scripts to use Postgres
This commit is contained in:
@@ -25,7 +25,7 @@ def get_database_cursors(log, config: str):
|
||||
password=db_config['mariadb']['password'],
|
||||
database=db_config['mariadb']['database']
|
||||
)
|
||||
postgres_conn = psycopg2.connect(f"host={db_config['postgres']['host']} port={db_config['postgres']['port']} user={db_config['postgres']['user']} password={db_config['postgres']['password']} dbname={db_config['postgres']['']}")
|
||||
postgres_conn = psycopg2.connect(f"host={db_config['postgres']['host']} port={db_config['postgres']['port']} user={db_config['postgres']['user']} password={db_config['postgres']['password']} dbname={db_config['postgres']['database']}")
|
||||
return sqlite_conn, mariadb_conn, postgres_conn
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user