Merge pull request #24307 from rycks/17_real_fix_sql_llx_opensurvey_comments

fix llx_opensurvey sql
This commit is contained in:
Laurent Destailleur 2023-03-22 13:24:52 +01:00 committed by GitHub
commit bf20ef056b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;