Mailsonde should not be a varchar
This commit is contained in:
parent
e09af20899
commit
c2c97ec82a
@ -24,5 +24,6 @@ ALTER TABLE `llx_opensurvey_sondage` DROP INDEX `idx_id_sondage_admin` ;
|
|||||||
ALTER TABLE `llx_opensurvey_sondage` DROP COLUMN `id_sondage_admin` ;
|
ALTER TABLE `llx_opensurvey_sondage` DROP COLUMN `id_sondage_admin` ;
|
||||||
ALTER TABLE `llx_opensurvey_sondage` DROP COLUMN `canedit` ;
|
ALTER TABLE `llx_opensurvey_sondage` DROP COLUMN `canedit` ;
|
||||||
ALTER TABLE `llx_opensurvey_sondage` ADD COLUMN `allow_spy` TINYINT( 1 ) UNSIGNED NOT NULL AFTER `allow_comments` ;
|
ALTER TABLE `llx_opensurvey_sondage` ADD COLUMN `allow_spy` TINYINT( 1 ) UNSIGNED NOT NULL AFTER `allow_comments` ;
|
||||||
ALTER TABLE `llx_opensurvey_sondage` DROP `origin` ;
|
ALTER TABLE `llx_opensurvey_sondage` DROP COLUMN `origin` ;
|
||||||
ALTER TABLE `llx_opensurvey_sondage` ADD `fk_user_creat` INT( 11 ) UNSIGNED NOT NULL AFTER `nom_admin` ;
|
ALTER TABLE `llx_opensurvey_sondage` ADD COLUMN `fk_user_creat` INT( 11 ) UNSIGNED NOT NULL AFTER `nom_admin` ;
|
||||||
|
ALTER TABLE `llx_opensurvey_sondage` CHANGE COLUMN `mailsonde` `mailsonde` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '0';
|
||||||
@ -24,7 +24,7 @@ CREATE TABLE llx_opensurvey_sondage (
|
|||||||
titre TEXT,
|
titre TEXT,
|
||||||
date_fin DATETIME,
|
date_fin DATETIME,
|
||||||
format VARCHAR(2),
|
format VARCHAR(2),
|
||||||
mailsonde varchar(2) DEFAULT '0',
|
mailsonde TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
allow_comments TINYINT(1) unsigned NOT NULL DEFAULT 1,
|
allow_comments TINYINT(1) unsigned NOT NULL DEFAULT 1,
|
||||||
allow_spy TINYINT(1) unsigned NOT NULL DEFAULT 1,
|
allow_spy TINYINT(1) unsigned NOT NULL DEFAULT 1,
|
||||||
tms TIMESTAMP,
|
tms TIMESTAMP,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user