-- Patron stat cats
UPDATE actor.stat_cat SET opac_visible=false WHERE opac_visible=true;
+-- erenew
+-- ID has to be under 100 in order to prevent it from appearing as a dropdown in the patron editor.
+
+INSERT INTO config.standing_penalty (id, name, label, staff_alert, org_depth)
+VALUES (90, 'PATRON_TEMP_RENEWAL',
+ 'Patron was given a 30-day temporary account renewal.
+ Please archive this message after the account is fully renewed.', TRUE, 0
COMMIT;
+BEGIN;
+
+ALTER TABLE permission.grp_tree ADD COLUMN erenew BOOL;
+
+COMMIT;
+
+BEGIN;
+
+UPDATE permission.grp_tree SET erenew = FALSE;
+
+COMMIT;
+
+BEGIN;
+
+ALTER TABLE permission.grp_tree ALTER COLUMN erenew SET NOT NULL;
+
+COMMIT;
+
+