LP#1506534: Fix typo in for z3950_attr_type
authorBen Shum <ben@evergreener.net>
Sun, 28 Feb 2016 00:28:37 +0000 (19:28 -0500)
committerBen Shum <ben@evergreener.net>
Sun, 28 Feb 2016 00:30:51 +0000 (19:30 -0500)
In 002.schema.config.sql there was a small typo for "z3950attr_name_is_valid"
where that should be "z3950_attr_name_is_valid" with the underscore between.

Fix to stop breakage on new database installs.

Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/sql/Pg/002.schema.config.sql

index 3d3d0c2..009db22 100644 (file)
@@ -1055,7 +1055,7 @@ ALTER TABLE config.best_hold_order ADD CHECK ((
 ));
 
 CREATE OR REPLACE FUNCTION 
-    evergreen.z3950attr_name_is_valid() RETURNS TRIGGER AS $func$
+    evergreen.z3950_attr_name_is_valid() RETURNS TRIGGER AS $func$
     BEGIN
 
       PERFORM * FROM config.z3950_attr WHERE name = NEW.z3950_attr_type;