revert SQL changes

This commit is contained in:
Florian HENRY 2016-03-08 10:24:59 +01:00
parent a8e2b49c5b
commit 4bf2da4af7
2 changed files with 2 additions and 4 deletions

View File

@ -795,6 +795,4 @@ ALTER TABLE llx_societe_remise_except MODIFY COLUMN description text NOT NULL;
-- Fix bad data
update llx_opensurvey_sondage set format = 'D' where format = 'D+';
update llx_opensurvey_sondage set format = 'A' where format = 'A+';
ALTER TABLE llx_actioncomm MODIFY COLUMN elementtype varchar(255) DEFAULT NULL;
update llx_opensurvey_sondage set format = 'A' where format = 'A+';

View File

@ -66,7 +66,7 @@ create table llx_actioncomm
recurdateend datetime,
fk_element integer DEFAULT NULL,
elementtype varchar(255) DEFAULT NULL
elementtype varchar(32) DEFAULT NULL
)ENGINE=innodb;