2
0
forked from Wavyzz/dolibarr

Email and poll author are now retrieved from the logged user

This commit is contained in:
Marcos García de La Fuente
2014-01-06 05:08:42 +01:00
parent b8b7dbbed4
commit e0c7eb545c
10 changed files with 78 additions and 75 deletions

View File

@@ -24,4 +24,5 @@ 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 `canedit` ;
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 `origin` ;
ALTER TABLE `llx_opensurvey_sondage` ADD `fk_user_creat` INT( 11 ) UNSIGNED NOT NULL AFTER `nom_admin` ;

View File

@@ -20,6 +20,7 @@ CREATE TABLE llx_opensurvey_sondage (
commentaires text,
mail_admin VARCHAR(128),
nom_admin VARCHAR(64),
fk_user_creat INT(11) UNSIGNED NOT NULL,
titre TEXT,
date_fin DATETIME,
format VARCHAR(2),