LP#1666512 - Only insert if not already existing
authorBen Shum <ben@evergreener.net>
Fri, 15 Sep 2017 03:16:32 +0000 (23:16 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 4 Oct 2017 16:11:17 +0000 (12:11 -0400)
commit58926d081ce8333c64cd1036452b7e80071d421a
treefc8028371d33bf773215f34cdaf089b19021cc34
parent514f7f430b4280fe1dbdea115e6f029869b73584
LP#1666512 - Only insert if not already existing

This repatch was requested by Galen Charlton to make it easier for
upgrades to avoid adding the entries or failing if the entries already
existed.

Also drops the unnecessary i18n tagging for the billing type names
since it does not work with applying upgrade scripts (only for sourcing
db.seed data for translation to PO file)

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/upgrade/XXXX.data.add_possibly_missing_billing_types.sql