Modified db-migrator to allow configuration of database 55/126855/3
authorwaynedunican <wayne.dunican@est.tech>
Tue, 4 Jan 2022 19:48:11 +0000 (19:48 +0000)
committerWayne Dunican <wayne.dunican@est.tech>
Wed, 2 Feb 2022 09:01:14 +0000 (09:01 +0000)
commit33d9fc7e57114c5693e15b4b4d5c3b385b40224b
tree3f0160dc3d4258e95d65db29a5ef315d12c4689a
parent179237337ae53f0a2df5ba24e865a668340e0da0
Modified db-migrator to allow configuration of database

- Updated the Dockerfile to include postgres sql
and to copy postgres scripts
- Added db-migrator-pg script for postgres installation
- Updated prepare upgrade/downgrade scripts

Issue-ID: POLICY-2715
Change-Id: Ib8d3523e8445ad1528fe225c96acdac5ca61535d
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
policy-db-migrator/src/main/docker/Dockerfile
policy-db-migrator/src/main/docker/db-migrator-pg [new file with mode: 0755]
policy-db-migrator/src/main/docker/prepare_downgrade.sh
policy-db-migrator/src/main/docker/prepare_upgrade.sh