Personal-Data-Linkage-Module / pxr-certification-authority-service

MIT License
1 stars 0 forks source link

Unit Testが実行できない(CREATE TABLEが正しく実行されない) #7

Open nmatsui opened 1 year ago

nmatsui commented 1 year ago

現在の状況

暫定対応

  1. postgresユーザーでpxr_pod DBにログインし、以下のSQLを実行する。
    $ psql -U postgres -d pxr_pod
    ----
    pxr_pod=# CREATE USER pxr_certification_authority_user WITH PASSWORD 'pxr_password';
    pxr_pod=# CREATE SCHEMA pxr_certification_authority AUTHORIZATION pxr_certification_authority_user;
  1. 1.の手順で作成されたpxr_certification_authority_userpxr-ver-1.0/database/pxr-certification-authority-serviceのcreateTable.sqlを実行する。
    $ psql -U pxr_certification_authority_user -d pxr_pod -f createTable.sql

修正内容