Create mail queue table

This commit is contained in:
Pierre 2018-05-27 11:16:49 +02:00
parent f011d06e5b
commit bee510c507

View File

@ -130,6 +130,18 @@ CREATE TABLE `comunic_conversations_users` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1; ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
DROP TABLE IF EXISTS `comunic_mails_queue`;
CREATE TABLE `comunic_mails_queue` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`priority` int(11) DEFAULT NULL,
`time_insert` int(11) DEFAULT NULL,
`userID` int(11) DEFAULT NULL,
`template` varchar(45) DEFAULT NULL,
`data` json DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
DROP TABLE IF EXISTS `comunic_notifications`; DROP TABLE IF EXISTS `comunic_notifications`;
CREATE TABLE `comunic_notifications` ( CREATE TABLE `comunic_notifications` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,