|
|
@ -8,16 +8,16 @@ class AccountsToPostgres {
|
|
|
|
// username: 'pass', password: '1p2a3s4s5');
|
|
|
|
// username: 'pass', password: '1p2a3s4s5');
|
|
|
|
|
|
|
|
|
|
|
|
/* Dev RemRem */
|
|
|
|
/* Dev RemRem */
|
|
|
|
static final connection = PostgreSQLConnection("localhost", 5432, 'passworld',
|
|
|
|
// static final connection = PostgreSQLConnection("localhost", 5432, 'passworld',
|
|
|
|
username: 'hel', password: '');
|
|
|
|
// username: 'hel', password: '');
|
|
|
|
|
|
|
|
|
|
|
|
/* Production */
|
|
|
|
/* Production */
|
|
|
|
// static final connection = PostgreSQLConnection(
|
|
|
|
static final connection = PostgreSQLConnection(
|
|
|
|
// Platform.environment["DB_SERVER"]!,
|
|
|
|
Platform.environment["DB_SERVER"]!,
|
|
|
|
// 5432,
|
|
|
|
5432,
|
|
|
|
// Platform.environment["DB_DATABASE"]!,
|
|
|
|
Platform.environment["DB_DATABASE"]!,
|
|
|
|
// username: Platform.environment["DB_USER"],
|
|
|
|
username: Platform.environment["DB_USER"],
|
|
|
|
// password: Platform.environment["DB_PASSWORD"]);
|
|
|
|
password: Platform.environment["DB_PASSWORD"]);
|
|
|
|
|
|
|
|
|
|
|
|
AccountsToPostgres() {
|
|
|
|
AccountsToPostgres() {
|
|
|
|
//initConnection();
|
|
|
|
//initConnection();
|
|
|
|