From 539ea9dcb0f20a9cbd2bb4a2c8c39721ac763352 Mon Sep 17 00:00:00 2001 From: RemRem Date: Mon, 16 Jan 2023 12:58:36 +0100 Subject: [PATCH] test deploy --- lib/database/accounts_to_postgres.dart | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/database/accounts_to_postgres.dart b/lib/database/accounts_to_postgres.dart index 79832b4..1aaef87 100644 --- a/lib/database/accounts_to_postgres.dart +++ b/lib/database/accounts_to_postgres.dart @@ -8,16 +8,16 @@ class AccountsToPostgres { // username: 'pass', password: '1p2a3s4s5'); /* Dev RemRem */ - static final connection = PostgreSQLConnection("localhost", 5432, 'passworld', - username: 'hel', password: ''); + // static final connection = PostgreSQLConnection("localhost", 5432, 'passworld', + // username: 'hel', password: ''); /* Production */ - // static final connection = PostgreSQLConnection( - // Platform.environment["DB_SERVER"]!, - // 5432, - // Platform.environment["DB_DATABASE"]!, - // username: Platform.environment["DB_USER"], - // password: Platform.environment["DB_PASSWORD"]); + static final connection = PostgreSQLConnection( + Platform.environment["DB_SERVER"]!, + 5432, + Platform.environment["DB_DATABASE"]!, + username: Platform.environment["DB_USER"], + password: Platform.environment["DB_PASSWORD"]); AccountsToPostgres() { //initConnection();