From 9fa7dcd4330bc60367bcee5bdd4ac40572b22dbf Mon Sep 17 00:00:00 2001 From: Eric Seigne Date: Tue, 21 Mar 2023 22:35:52 +0100 Subject: [PATCH 1/2] fix sql --- .../mysql/tables/llx_opensurvey_comments-opensurvey.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/mysql/tables/llx_opensurvey_comments-opensurvey.sql b/htdocs/install/mysql/tables/llx_opensurvey_comments-opensurvey.sql index b447431cca5..bbee48ad0cf 100644 --- a/htdocs/install/mysql/tables/llx_opensurvey_comments-opensurvey.sql +++ b/htdocs/install/mysql/tables/llx_opensurvey_comments-opensurvey.sql @@ -20,8 +20,8 @@ CREATE TABLE llx_opensurvey_comments ( id_sondage CHAR(16) NOT NULL, comment text NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - usercomment text + usercomment text, date_creation datetime NOT NULL, - ip varchar(250), --ip used to create record (for public submission page) + ip varchar(250) --ip used to create record (for public submission page) ) ENGINE=innodb; From 0834a59c1ca3780f8ddd80429ea501b879ff8754 Mon Sep 17 00:00:00 2001 From: Eric Seigne Date: Tue, 21 Mar 2023 22:45:41 +0100 Subject: [PATCH 2/2] same sql error --- .../mysql/tables/llx_opensurvey_user_studs-opensurvey.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/mysql/tables/llx_opensurvey_user_studs-opensurvey.sql b/htdocs/install/mysql/tables/llx_opensurvey_user_studs-opensurvey.sql index 26de6ff8a21..5d3b132c8dd 100644 --- a/htdocs/install/mysql/tables/llx_opensurvey_user_studs-opensurvey.sql +++ b/htdocs/install/mysql/tables/llx_opensurvey_user_studs-opensurvey.sql @@ -20,7 +20,7 @@ CREATE TABLE llx_opensurvey_user_studs ( nom VARCHAR(64) NOT NULL, id_sondage VARCHAR(16) NOT NULL, reponses VARCHAR(200) NOT NULL, -- Not used for 'F' surveys - tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP + tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, date_creation datetime NOT NULL, - ip varchar(250), --ip used to create record (for public submission page) + ip varchar(250) --ip used to create record (for public submission page) ) ENGINE=innodb;