]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1842940: stamping and slight tweak to upgrade script
authorJane Sandberg <sandbej@linnbenton.edu>
Tue, 1 Oct 2019 21:47:07 +0000 (14:47 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Tue, 1 Oct 2019 22:08:31 +0000 (15:08 -0700)
commitdf12481472fd7d7f73b827fa24f7041df4ef9fe7
treecbbaafca1d31338ef64ee7e0820d07bd3099d75f
parentd55719ae78a779e3f3700458c387af461ddc95fb
LP1842940: stamping and slight tweak to upgrade script

Mike Rylander suggested the INSERT ... SELECT ... WHERE NOT
EXISTS approach, since this fix is being backported to older
releases, and we don't want to cause duplicate entries or
upgrade failures if the perm already exists

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1191.data.lp1842940_staff_edit_self_perm.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1842940_staff_edit_self_perm.sql [deleted file]