Updated postgres configurations

This commit is contained in:
thomashii 2024-02-18 12:03:36 +08:00
parent bee328e1c1
commit 630f7c16ec

View file

@ -21,7 +21,7 @@ Future<void> closePg(QueryExecutor executor) async {
Future<PostgreSqlExecutor> connectToPostgres(Iterable<String> schemas) async {
var host = Platform.environment['POSTGRES_HOST'] ?? 'localhost';
var database = Platform.environment['POSTGRES_NAME'] ?? 'orm_test';
var database = Platform.environment['POSTGRES_DB'] ?? 'orm_test';
var username = Platform.environment['POSTGRES_USERNAME'] ?? 'test';
var password = Platform.environment['POSTGRES_PASSWORD'] ?? 'test123';