This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 1d19af879126f40717e2a2aa4f420d5abd4744d9 Author: Kevin Morin <morin@codelutin.com> Date: Thu Oct 5 12:01:42 2017 +0200 correction de la valeur de la conf par défaut des types de sondage --- .../db/migration/h2/V3_1_0_3__add_vote_counting_config.sql | 6 +++--- .../db/migration/postgresql/V3_1_0_3__add_vote_counting_config.sql | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pollen-persistence/src/main/resources/db/migration/h2/V3_1_0_3__add_vote_counting_config.sql b/pollen-persistence/src/main/resources/db/migration/h2/V3_1_0_3__add_vote_counting_config.sql index 85448132..b1462799 100644 --- a/pollen-persistence/src/main/resources/db/migration/h2/V3_1_0_3__add_vote_counting_config.sql +++ b/pollen-persistence/src/main/resources/db/migration/h2/V3_1_0_3__add_vote_counting_config.sql @@ -8,7 +8,7 @@ UPDATE poll set votecountingconfig = concat('{maxChoiceNumber: ', maxChoiceNumbe UPDATE poll set votecountingconfig = '{weight: 100}' where votecountingtype = 2; -- 3 Condorcet -UPDATE poll set votecountingconfig = '' where votecountingtype = 3; +UPDATE poll set votecountingconfig = '{}' where votecountingtype = 3; -- 4 Number UPDATE poll set votecountingconfig = concat('{maxChoiceNumber: ', maxChoiceNumber, '}') where votecountingtype = 4; @@ -17,7 +17,7 @@ UPDATE poll set votecountingconfig = concat('{maxChoiceNumber: ', maxChoiceNumbe UPDATE poll set votecountingconfig = '{maxChoiceNumber: 0, pointsByRank: null}' where votecountingtype = 5; -- 6 Instant runoff -UPDATE poll set votecountingconfig = '' where votecountingtype = 6; +UPDATE poll set votecountingconfig = '{}' where votecountingtype = 6; -- 6 Coombs -UPDATE poll set votecountingconfig = '' where votecountingtype = 7; \ No newline at end of file +UPDATE poll set votecountingconfig = '{}' where votecountingtype = 7; \ No newline at end of file diff --git a/pollen-persistence/src/main/resources/db/migration/postgresql/V3_1_0_3__add_vote_counting_config.sql b/pollen-persistence/src/main/resources/db/migration/postgresql/V3_1_0_3__add_vote_counting_config.sql index c3a80bd5..5bec504d 100644 --- a/pollen-persistence/src/main/resources/db/migration/postgresql/V3_1_0_3__add_vote_counting_config.sql +++ b/pollen-persistence/src/main/resources/db/migration/postgresql/V3_1_0_3__add_vote_counting_config.sql @@ -8,7 +8,7 @@ UPDATE poll set votecountingconfig = concat('{maxChoiceNumber: ', maxChoiceNumbe UPDATE poll set votecountingconfig = '{weight: 100}' where votecountingtype = 2; -- 3 Condorcet -UPDATE poll set votecountingconfig = '' where votecountingtype = 3; +UPDATE poll set votecountingconfig = '{}' where votecountingtype = 3; -- 4 Number UPDATE poll set votecountingconfig = concat('{maxChoiceNumber: ', maxChoiceNumber, '}') where votecountingtype = 4; @@ -17,7 +17,7 @@ UPDATE poll set votecountingconfig = concat('{maxChoiceNumber: ', maxChoiceNumbe UPDATE poll set votecountingconfig = '{maxChoiceNumber: 0, pointsByRank: null}' where votecountingtype = 5; -- 6 Instant runoff -UPDATE poll set votecountingconfig = '' where votecountingtype = 6; +UPDATE poll set votecountingconfig = '{}' where votecountingtype = 6; -- 6 Coombs -UPDATE poll set votecountingconfig = '' where votecountingtype = 7; \ No newline at end of file +UPDATE poll set votecountingconfig = '{}' where votecountingtype = 7; \ No newline at end of file -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.