Skip to content

Commit

Permalink
fix pg
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacyking committed Oct 16, 2023
1 parent 550add3 commit 4d7f6eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
image: postgres
env:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_PASSWORD: 123456
POSTGRES_DB: test_ormppdb
options: >-
--health-cmd pg_isready
Expand Down
4 changes: 4 additions & 0 deletions tests/test_ormpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
using namespace std::string_literals;

using namespace ormpp;
#ifdef ORMPP_ENABLE_PG
const char *password = "123456";
#else
const char *password = "";
#endif
const char *ip = "127.0.0.1";
const char *db = "test_ormppdb";

Expand Down

0 comments on commit 4d7f6eb

Please sign in to comment.