diff --git a/.github/workflows/build_postgres.yml b/.github/workflows/build_postgres.yml index 2b991c2afff2..5f5af7a376d5 100644 --- a/.github/workflows/build_postgres.yml +++ b/.github/workflows/build_postgres.yml @@ -125,7 +125,7 @@ jobs: - name: Install Nautilus CLI and run init postgres run: | make install-cli - nautilus database init --host localhost --port 5432 --user postgres --password pass --database nautilus + nautilus database init --host localhost --port 5432 --username postgres --password pass --database nautilus - name: Run nautilus_core cargo tests (Linux) run: | diff --git a/nautilus_core/infrastructure/tests/test_cache_database_postgres.rs b/nautilus_core/infrastructure/tests/test_cache_database_postgres.rs index c0b10aa4821e..05d3cc39ff1a 100644 --- a/nautilus_core/infrastructure/tests/test_cache_database_postgres.rs +++ b/nautilus_core/infrastructure/tests/test_cache_database_postgres.rs @@ -15,10 +15,7 @@ use nautilus_infrastructure::sql::{ cache_database::PostgresCacheDatabase, - pg::{ - connect_pg, delete_nautilus_postgres_tables, drop_postgres, init_postgres, - PostgresConnectOptions, - }, + pg::{connect_pg, delete_nautilus_postgres_tables, PostgresConnectOptions}, }; use sqlx::PgPool;