From: Bill Erickson Date: Wed, 2 Oct 2019 20:32:31 +0000 (-0400) Subject: LP1845240 Update survey answer sequence after explicit inserts X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ecb6237797d7583066a50c93d57bad487b351409;p=working%2FEvergreen.git LP1845240 Update survey answer sequence after explicit inserts Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/tests/datasets/sql/surveys.sql b/Open-ILS/tests/datasets/sql/surveys.sql index f45de8d441..d1d565bef9 100644 --- a/Open-ILS/tests/datasets/sql/surveys.sql +++ b/Open-ILS/tests/datasets/sql/surveys.sql @@ -26,6 +26,9 @@ INSERT INTO action.survey_answer (id, question, answer) VALUES (16, 3, 'Redshirt INSERT INTO action.survey_answer (id, question, answer) VALUES (17, 3, 'TARDIS blue.'); INSERT INTO action.survey_answer (id, question, answer) VALUES (18, 3, 'This is getting too silly - I quit.'); +-- bump up a bit in case we add new answers above and forget to change this. +SELECT SETVAL('action.survey_answer_id_seq'::TEXT, 100); + /** for every user with an id not evenly divisible by 6, * add a randomized response for every question in the survey */