From 4e535135537f2bb4bd0e962830f3e274be2a9645 Mon Sep 17 00:00:00 2001 From: Fedor Kuznetsov Date: Thu, 26 Oct 2023 12:57:47 +0800 Subject: [PATCH] feat: Creating a database from a schema --- .github/workflows/test_user_service.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test_user_service.yml b/.github/workflows/test_user_service.yml index c7030ed..e67d921 100644 --- a/.github/workflows/test_user_service.yml +++ b/.github/workflows/test_user_service.yml @@ -29,6 +29,11 @@ jobs: with: python-version: 3.11 + - name: Load Database Schema + run: | + cd user_service + psql -h localhost -U postgres -d user_service_db -a -f path/to/scheme.sql + - name: Install Poetry run: | python -m pip install --upgrade pip