From eca68d82fda7a32fafd62456c6ddf946f5c1b2f5 Mon Sep 17 00:00:00 2001 From: RemRem Date: Wed, 30 Nov 2022 17:22:26 +0100 Subject: [PATCH] tw --- lib/database/accounts_to_postgres.dart | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/database/accounts_to_postgres.dart b/lib/database/accounts_to_postgres.dart index 9bcb25f..bf82f47 100644 --- a/lib/database/accounts_to_postgres.dart +++ b/lib/database/accounts_to_postgres.dart @@ -9,12 +9,10 @@ class AccountsToPostgres { */ // Production - final connection = PostgreSQLConnection( - Platform.environment["CODEFIRST_CLIENTDRONE_ENV_DB_SERVER"]!, - 5432, - Platform.environment["CODEFIRST_CLIENTDRONE_ENV_DB_DATABASE"]!, - username: Platform.environment["CODEFIRST_CLIENTDRONE_ENV_DB_USER"], - password: Platform.environment["CODEFIRST_CLIENTDRONE_ENV_DB_PASSWORD"]); + final connection = PostgreSQLConnection(Platform.environment["DB_SERVER"]!, + 5432, Platform.environment["DB_DATABASE"]!, + username: Platform.environment["DB_USER"], + password: Platform.environment["DB_PASSWORD"]); AccountsToPostgres() { initConnection();