Merge branch 'ent-fixed-mr' into 'develop'

fixed mr 28

See merge request artica/pandorafms!2467
This commit is contained in:
Daniel Rodriguez 2019-05-29 17:12:06 +02:00
commit 5872a3ed56
1 changed files with 3 additions and 4 deletions

View File

@ -29,12 +29,11 @@ CREATE TABLE IF NOT EXISTS `tvisual_console_elements_cache` (
`expiration` INTEGER UNSIGNED NOT NULL COMMENT 'Seconds to expire',
PRIMARY KEY(`id`),
FOREIGN KEY(`vc_id`) REFERENCES `tlayout`(`id`)
ON DELETE CASCADE,
ON DELETE CASCADE,
FOREIGN KEY(`vc_item_id`) REFERENCES `tlayout_data`(`id`)
ON DELETE CASCADE,
ON DELETE CASCADE,
FOREIGN KEY (`user_id`) REFERENCES `tusuario`(`id_user`)
ON DELETE CASCADE
ON UPDATE CASCADE
ON DELETE CASCADE ON UPDATE CASCADE
) engine=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `tlayout_data` ADD COLUMN `cache_expiration` INTEGER UNSIGNED NOT NULL DEFAULT 0;