]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/XXXX.data.add_possibly_missing_billing_types.sql
a9d3d5c732f67877b547365e5d771a64f0a1f907
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / XXXX.data.add_possibly_missing_billing_types.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
4
5 -- The following billing types would not have been automatically added
6 -- in upgrade scripts between versions 1.2 and 1.4 (early 2009).  We
7 -- add them here.  It's okay if they fail, so this should probably be 
8 -- run outside a transaction if added to the version-upgrade scripts.
9
10 INSERT INTO config.billing_type (id, name, owner) VALUES
11     ( 7, oils_i18n_gettext(7, 'Damaged Item', 'cbt', 'name'), 1);
12 INSERT INTO config.billing_type (id, name, owner) VALUES
13     ( 8, oils_i18n_gettext(8, 'Damaged Item Processing Fee', 'cbt', 'name'), 1);
14 INSERT INTO config.billing_type (id, name, owner) VALUES
15     ( 9, oils_i18n_gettext(9, 'Notification Fee', 'cbt', 'name'), 1);
16
17 COMMIT;