Project

General

Profile

Actions

Defect #2811

closed

Some flyway scripts depend on a "public" schema (Postgresql).

Added by Vít Švanda almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Scripts
Target version:
Start date:
05/13/2021
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Related issues

Related to IdStory Identity Manager - Defect #2477: Application won't start with existing data under MSSQL databaseClosedOndřej Kopr09/04/2020

Actions
Actions #1

Updated by Radek Tomiška almost 3 years ago

  • Related to Defect #2477: Application won't start with existing data under MSSQL database added
Actions #2

Updated by Vít Švanda almost 3 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Vít Švanda almost 3 years ago

  • Subject changed from Some flyway scirpts depend on a "public" schema. to Some flyway scirpts depend on a "public" schema (Postgresql).
  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 0 to 90

Fixed.
The public schema was used in two scripts "V10_04_004__delegations.sql" and "V8_02_003__role-guarantee-by-role.sql". Two more scripts were depended on "V8_02_003__role-guarantee-by-role.sql", so that four scripts were removed/moved and modified (IF NOT EXIST). The IF NOT EXIST clause for all use cases should be supported by Postgresql 9.5 and higher.

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/1a8605deee5c61ed4593e443053c6f3a016b21a7

Actions #4

Updated by Radek Tomiška almost 3 years ago

  • Subject changed from Some flyway scirpts depend on a "public" schema (Postgresql). to Some flyway scripts depend on a "public" schema (Postgresql).
  • Status changed from Needs feedback to Closed
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 90 to 100

I did test and code review, it works, thx for fix!

Actions

Also available in: Atom PDF