Correct upgrade script
authorMike Rylander <mrylander@gmail.com>
Wed, 24 Aug 2016 14:49:41 +0000 (10:49 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 24 Aug 2016 14:49:41 +0000 (10:49 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/upgrade/0990.data.copy-count-badge.sql

index ce9d8f0..ed01844 100644 (file)
@@ -30,7 +30,7 @@ BEGIN
 END;
 $f$ LANGUAGE PLPGSQL STRICT;
 
-INSERT INTO rating.popularity_parameter (name, func, require_percentile) VALUES ('Copy Count', 'rating.copy_count', TRUE);
+INSERT INTO rating.popularity_parameter (id, name, func, require_percentile) VALUES (16, 'Copy Count', 'rating.copy_count', TRUE);
 
 COMMIT;