0byt3m1n1
Path:
/
home
/
mgatv524
/
vision.mgaplay.com.br
/
[
Home
]
File: midiatv125_cms.sql
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: 10-Jul-2019 às 18:04 -- Versão do servidor: 10.3.16-MariaDB -- versão do PHP: 7.2.7 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `midiatv125_cms` -- -- -------------------------------------------------------- -- -- Estrutura da tabela `auditlog` -- CREATE TABLE `auditlog` ( `logId` int(11) NOT NULL, `logDate` int(11) NOT NULL, `userId` int(11) DEFAULT NULL, `message` varchar(254) NOT NULL, `entity` varchar(50) NOT NULL, `entityId` int(11) NOT NULL, `objectAfter` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `auditlog` -- INSERT INTO `auditlog` (`logId`, `logDate`, `userId`, `message`, `entity`, `entityId`, `objectAfter`) VALUES (1, 1562777109, 1, 'Login Granted', 'User', 1, '{\"IPAddress\":\"187.183.232.69\",\"UserAgent\":\"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/75.0.3770.100 Safari\\/537.36\"}'), (2, 1562777127, 1, 'Added', 'Layout', 2, '{\"layoutId\":2,\"layout\":\"test3\"}'), (3, 1562777127, 1, 'Added', 'Region', 3, '{\"regionId\":3,\"details\":\"Region test3-1 - 1920 x 1080 (0, 0). RegionId = 3, LayoutId = 2. OwnerId = 1. Duration = 0\"}'), (4, 1562777250, 1, 'Saved', 'Widget', 3, '{\"calculatedDuration\":\"0 > 22\"}'), (5, 1562777262, 1, 'Saved', 'Widget', 4, '{\"calculatedDuration\":\"0 > 30\"}'), (6, 1562777453, 1, 'Login Granted', 'User', 1, '{\"IPAddress\":\"187.183.232.69\",\"UserAgent\":\"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/75.0.3770.100 Safari\\/537.36\"}'), (7, 1562777482, 1, 'Added', 'Layout', 3, '{\"layoutId\":3,\"layout\":\"TABELA A\\u00c7OUGUE BOVINOS\"}'), (8, 1562777482, 1, 'Added', 'Region', 4, '{\"regionId\":4,\"details\":\"Region TABELA A\\u00c7OUGUE-1 - 955 x 907 (167, 4). RegionId = 4, LayoutId = 3. OwnerId = 1. Duration = 0\"}'), (9, 1562777482, 1, 'Added', 'Region', 5, '{\"regionId\":5,\"details\":\"Region TABELA A\\u00c7OUGUE-2 - 940 x 897 (167, 964). RegionId = 5, LayoutId = 3. OwnerId = 1. Duration = 0\"}'), (10, 1562777482, 1, 'Added', 'Region', 6, '{\"regionId\":6,\"details\":\"Region TABELA A\\u00c7OUGUE-3 - 1118 x 127 (0, 328). RegionId = 6, LayoutId = 3. OwnerId = 1. Duration = 0\"}'), (11, 1562777482, 1, 'Added', 'Region', 7, '{\"regionId\":7,\"details\":\"Region TABELA A\\u00c7OUGUE-4 - 372 x 168 (0, 1530). RegionId = 7, LayoutId = 3. OwnerId = 1. Duration = 0\"}'), (12, 1562777490, 1, 'Saved', 'Widget', 5, '{\"calculatedDuration\":\"0 > 5\"}'), (13, 1562777490, 1, 'Saved', 'Widget', 6, '{\"calculatedDuration\":\"0 > 5\"}'), (14, 1562777490, 1, 'Saved', 'Widget', 7, '{\"calculatedDuration\":\"0 > 5\"}'), (15, 1562777503, 1, 'Added', 'Region', 8, '{\"regionId\":8,\"details\":\"Region TABELA A\\u00c7OUGUE BOVINOS-4 - 250 x 250 (50, 50). RegionId = 8, LayoutId = 3. OwnerId = 1. Duration = 0\"}'), (16, 1562777517, 1, 'Saved', 'Region', 4, '{\"width\":\"955.2000 > 955.19999999999\",\"height\":\"907.2000 > 907.19999999999\",\"top\":\"167.7858 > 167.775\",\"left\":\"4.6928 > 4.6875\"}'), (17, 1562777518, 1, 'Saved', 'Region', 5, '{\"width\":\"940.8000 > 940.79999999999\",\"height\":\"897.6000 > 897.59999999999\",\"top\":\"167.9786 > 167.9625\",\"left\":\"964.0072 > 963.97499999999\"}'), (18, 1562777518, 1, 'Saved', 'Region', 6, '{\"left\":\"328.2643 > 328.2375\"}'), (19, 1562777518, 1, 'Saved', 'Region', 8, '{\"width\":\"250.0000 > 388.8\",\"height\":\"250.0000 > 160.8\",\"top\":\"50.0000 > 1.9875\",\"left\":\"50.0000 > 1530.75\"}'), (20, 1562777540, 1, 'Saved', 'Widget', 9, '{\"calculatedDuration\":\"0 > 10\"}'), (21, 1562777749, 1, 'Added', 'Layout', 4, '{\"layoutId\":4,\"layout\":\"TABELA A\\u00c7OUGUE BOVINOS\"}'), (22, 1562777749, 1, 'Added', 'Region', 9, '{\"regionId\":9,\"details\":\"Region TABELA A\\u00c7OUGUE-1 - 955 x 907 (167, 4). RegionId = 9, LayoutId = 4. OwnerId = 1. Duration = 0\"}'), (23, 1562777750, 1, 'Added', 'Region', 10, '{\"regionId\":10,\"details\":\"Region TABELA A\\u00c7OUGUE-2 - 940 x 897 (167, 964). RegionId = 10, LayoutId = 4. OwnerId = 1. Duration = 0\"}'), (24, 1562777750, 1, 'Added', 'Region', 11, '{\"regionId\":11,\"details\":\"Region TABELA A\\u00c7OUGUE-3 - 1118 x 127 (0, 328). RegionId = 11, LayoutId = 4. OwnerId = 1. Duration = 0\"}'), (25, 1562777750, 1, 'Added', 'Region', 12, '{\"regionId\":12,\"details\":\"Region TABELA A\\u00c7OUGUE-4 - 372 x 168 (0, 1530). RegionId = 12, LayoutId = 4. OwnerId = 1. Duration = 0\"}'), (26, 1562777758, 1, 'Saved', 'Widget', 10, '{\"calculatedDuration\":\"0 > 5\"}'), (27, 1562777758, 1, 'Saved', 'Widget', 11, '{\"calculatedDuration\":\"0 > 5\"}'), (28, 1562777758, 1, 'Saved', 'Widget', 12, '{\"calculatedDuration\":\"0 > 5\"}'), (29, 1562777775, 1, 'Added', 'Region', 13, '{\"regionId\":13,\"details\":\"Region TABELA A\\u00c7OUGUE BOVINOS-4 - 250 x 250 (50, 50). RegionId = 13, LayoutId = 4. OwnerId = 1. Duration = 0\"}'), (30, 1562777793, 1, 'Saved', 'Region', 9, '{\"width\":\"955.2000 > 955.19999999999\",\"height\":\"907.2000 > 907.19999999999\",\"top\":\"167.7858 > 167.775\",\"left\":\"4.6928 > 4.6875\"}'), (31, 1562777793, 1, 'Saved', 'Region', 10, '{\"width\":\"940.8000 > 940.79999999999\",\"height\":\"897.6000 > 897.59999999999\",\"top\":\"167.9786 > 167.9625\",\"left\":\"964.0072 > 963.97499999999\"}'), (32, 1562777793, 1, 'Saved', 'Region', 11, '{\"left\":\"328.2643 > 328.2375\"}'), (33, 1562777793, 1, 'Saved', 'Region', 13, '{\"width\":\"250.0000 > 364.8\",\"height\":\"250.0000 > 160.8\",\"top\":\"50.0000 > 0\",\"left\":\"50.0000 > 1555.2\"}'), (34, 1562777814, 1, 'Saved', 'Widget', 14, '{\"calculatedDuration\":\"0 > 10\"}'), (35, 1562777922, 1, 'Added', 'Layout', 5, '{\"layoutId\":5,\"layout\":\"Campeonato Brasileiro\"}'), (36, 1562777922, 1, 'Added', 'Region', 14, '{\"regionId\":14,\"details\":\"Region 1 - 1280 x 720 (0, 0). RegionId = 14, LayoutId = 5. OwnerId = 1. Duration = 0\"}'), (37, 1562777929, 1, 'Added', 'Layout', 6, '{\"layoutId\":6,\"layout\":\"Card\\u00e1pio\"}'), (38, 1562777929, 1, 'Added', 'Region', 15, '{\"regionId\":15,\"details\":\"Region 1 - 1280 x 720 (0, 0). RegionId = 15, LayoutId = 6. OwnerId = 1. Duration = 0\"}'), (39, 1562777931, 1, 'Added', 'Layout', 7, '{\"layoutId\":7,\"layout\":\"HORA CERTA\"}'), (40, 1562777931, 1, 'Added', 'Region', 16, '{\"regionId\":16,\"details\":\"Region HORA CERTA-1 - 1280 x 720 (0, 0). RegionId = 16, LayoutId = 7. OwnerId = 1. Duration = 0\"}'), (41, 1562777932, 1, 'Added', 'Layout', 8, '{\"layoutId\":8,\"layout\":\"Youtube - LiveStream\"}'), (42, 1562777932, 1, 'Added', 'Region', 17, '{\"regionId\":17,\"details\":\"Region Youtube - Embedded-1 - 1920 x 1080 (0, 0). RegionId = 17, LayoutId = 8. OwnerId = 1. Duration = 0\"}'), (43, 1562777946, 1, 'Saved', 'Widget', 18, '{\"calculatedDuration\":\"0 > 60\"}'), (44, 1562777981, 1, 'Saved', 'Widget', 18, '{\"widgetOptions\":[{\"value\":\"0 > 1\"},{\"value\":\"<script>\\n var tag = document.createElement(\'script\');\\n tag.src = \\\"https:\\/\\/www.youtube.com\\/iframe_api\\\";\\n var firstScriptTag = document.getElementsByTagName(\'script\')[0];\\n firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\\n var player;\\n function onYouTubeIframeAPIReady() {\\n player = new YT.Player(\'player\', {\\n height: \'720\',\\n width: \'1280\',\\n videoId: \'VXjH11UUsrY\',\\n events: {\\n \'onReady\': onPlayerReady\\n }\\n });\\n }\\n function onPlayerReady(event) {\\n event.target.playVideo();\\n }\\n<\\/script> > <script>\\r\\n var tag = document.createElement(\'script\');\\r\\n tag.src = \\\"https:\\/\\/www.youtube.com\\/iframe_api\\\";\\r\\n var firstScriptTag = document.getElementsByTagName(\'script\')[0];\\r\\n firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\\r\\n var player;\\r\\n function onYouTubeIframeAPIReady() {\\r\\n player = new YT.Player(\'player\', {\\r\\n height: \'720\',\\r\\n width: \'1280\',\\r\\n videoId: \'VXjH11UUsrY\',\\r\\n events: {\\r\\n \'onReady\': onPlayerReady\\r\\n }\\r\\n });\\r\\n }\\r\\n function onPlayerReady(event) {\\r\\n event.target.playVideo();\\r\\n }\\r\\n<\\/script>\"},{\"value\":\"<style type=\\\"text\\/css\\\">\\n\\n<\\/style>\\n > <style type=\\\"text\\/css\\\">\\r\\n\\r\\n<\\/style>\\r\\n\"}]}'), (45, 1562778003, 1, 'Saved', 'Widget', 17, '{\"calculatedDuration\":\"0 > 60\"}'), (46, 1562778009, 1, 'Saved', 'Widget', 16, '{\"calculatedDuration\":\"0 > 5\"}'), (47, 1562778047, 1, 'Saved', 'Widget', 1, '{\"calculatedDuration\":\"0 > 15\"}'), (48, 1562778047, 1, 'Saved', 'Widget', 2, '{\"calculatedDuration\":\"0 > 10\"}'), (49, 1562778113, 1, 'Saved', 'Widget', 15, '{\"calculatedDuration\":\"0 > 5\"}'), (50, 1562778219, 1, 'Added', 'Layout', 9, '{\"layoutId\":9,\"layout\":\"PREVIS\\u00c3O DO TEMPO\"}'), (51, 1562778219, 1, 'Added', 'Region', 18, '{\"regionId\":18,\"details\":\"Region PREVIS\\u00c3O DO TEMPO-1 - 1920 x 1080 (0, 0). RegionId = 18, LayoutId = 9. OwnerId = 1. Duration = 0\"}'), (52, 1562778225, 1, 'Saved', 'Widget', 19, '{\"calculatedDuration\":\"0 > 60\"}'), (53, 1562778391, 1, 'Added', 'Layout', 10, '{\"layoutId\":10,\"layout\":\"Uol-Dicas\"}'), (54, 1562778391, 1, 'Added', 'Region', 19, '{\"regionId\":19,\"details\":\"Region 1 - 1920 x 1080 (0, 0). RegionId = 19, LayoutId = 10. OwnerId = 1. Duration = 0\"}'), (55, 1562778392, 1, 'Added', 'Layout', 11, '{\"layoutId\":11,\"layout\":\"Uol-Economia\"}'), (56, 1562778393, 1, 'Added', 'Region', 20, '{\"regionId\":20,\"details\":\"Region 1 - 1920 x 1080 (0, 0). RegionId = 20, LayoutId = 11. OwnerId = 1. Duration = 0\"}'), (57, 1562778394, 1, 'Added', 'Layout', 12, '{\"layoutId\":12,\"layout\":\"Uol-Esportes\"}'), (58, 1562778394, 1, 'Added', 'Region', 21, '{\"regionId\":21,\"details\":\"Region 1 - 1920 x 1080 (0, 0). RegionId = 21, LayoutId = 12. OwnerId = 1. Duration = 0\"}'), (59, 1562778395, 1, 'Added', 'Layout', 13, '{\"layoutId\":13,\"layout\":\"Uol-Pol\\u00edtica\"}'), (60, 1562778395, 1, 'Added', 'Region', 22, '{\"regionId\":22,\"details\":\"Region 1 - 1920 x 1080 (0, 0). RegionId = 22, LayoutId = 13. OwnerId = 1. Duration = 0\"}'), (61, 1562778396, 1, 'Added', 'Layout', 14, '{\"layoutId\":14,\"layout\":\"Uol-Televis\\u00e3o\"}'), (62, 1562778396, 1, 'Added', 'Region', 23, '{\"regionId\":23,\"details\":\"Region 1 - 1920 x 1080 (0, 0). RegionId = 23, LayoutId = 14. OwnerId = 1. Duration = 0\"}'), (63, 1562778404, 1, 'Saved', 'Widget', 20, '{\"calculatedDuration\":\"0 > 5\"}'), (64, 1562781554, 1, 'Login Granted', 'User', 1, '{\"IPAddress\":\"187.183.232.69\",\"UserAgent\":\"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/75.0.3770.100 Safari\\/537.36\"}'), (65, 1562781736, 1, 'Login Granted', 'User', 1, '{\"IPAddress\":\"187.183.232.69\",\"UserAgent\":\"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/75.0.3770.100 Safari\\/537.36\"}'); -- -------------------------------------------------------- -- -- Estrutura da tabela `bandwidth` -- CREATE TABLE `bandwidth` ( `DisplayID` int(11) NOT NULL, `Type` tinyint(4) NOT NULL, `Month` int(11) NOT NULL, `Size` bigint(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `bandwidthtype` -- CREATE TABLE `bandwidthtype` ( `bandwidthtypeid` int(11) NOT NULL, `name` varchar(25) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `bandwidthtype` -- INSERT INTO `bandwidthtype` (`bandwidthtypeid`, `name`) VALUES (1, 'Register'), (2, 'Required Files'), (3, 'Schedule'), (4, 'Get File'), (5, 'Get Resource'), (6, 'Media Inventory'), (7, 'Notify Status'), (8, 'Submit Stats'), (9, 'Submit Log'), (10, 'Blacklist'), (11, 'Screen Shot'); -- -------------------------------------------------------- -- -- Estrutura da tabela `blacklist` -- CREATE TABLE `blacklist` ( `BlackListID` int(11) NOT NULL, `MediaID` int(11) NOT NULL, `DisplayID` int(11) NOT NULL, `UserID` int(11) DEFAULT NULL COMMENT 'Null if it came from a display', `ReportingDisplayID` int(11) DEFAULT NULL COMMENT 'The display that reported the blacklist', `Reason` text NOT NULL, `isIgnored` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Ignore this blacklist' ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Blacklisted media will not get sent to the Display'; -- -------------------------------------------------------- -- -- Estrutura da tabela `campaign` -- CREATE TABLE `campaign` ( `CampaignID` int(11) NOT NULL, `Campaign` varchar(254) NOT NULL, `IsLayoutSpecific` tinyint(4) NOT NULL, `UserID` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `campaign` -- INSERT INTO `campaign` (`CampaignID`, `Campaign`, `IsLayoutSpecific`, `UserID`) VALUES (1, 'Default Layout', 1, 1), (2, 'test3', 1, 1), (4, 'TABELA AÇOUGUE BOVINOS', 1, 1), (5, 'Campeonato Brasileiro', 1, 1), (6, 'Cardápio', 1, 1), (7, 'HORA CERTA', 1, 1), (8, 'Youtube - LiveStream', 1, 1), (9, 'PREVISÃO DO TEMPO', 1, 1), (10, 'Uol-Dicas', 1, 1), (11, 'Uol-Economia', 1, 1), (12, 'Uol-Esportes', 1, 1), (13, 'Uol-Política', 1, 1), (14, 'Uol-Televisão', 1, 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `command` -- CREATE TABLE `command` ( `commandId` int(11) NOT NULL, `command` varchar(254) NOT NULL, `code` varchar(50) NOT NULL, `description` varchar(1000) DEFAULT NULL, `userId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `dataset` -- CREATE TABLE `dataset` ( `DataSetID` int(11) NOT NULL, `DataSet` varchar(50) NOT NULL, `Description` varchar(254) DEFAULT NULL, `UserID` int(11) NOT NULL, `LastDataEdit` int(11) NOT NULL DEFAULT 0, `code` varchar(50) DEFAULT NULL, `isLookup` tinyint(4) NOT NULL DEFAULT 0, `isRemote` tinyint(4) NOT NULL DEFAULT 0, `method` enum('GET','POST') DEFAULT NULL, `uri` varchar(250) DEFAULT NULL, `postData` text DEFAULT NULL, `authentication` enum('none','plain','basic','digest') DEFAULT NULL, `username` varchar(100) DEFAULT NULL, `password` varchar(250) DEFAULT NULL, `refreshRate` int(11) DEFAULT 86400, `clearRate` int(11) DEFAULT 0, `runsAfter` int(11) DEFAULT NULL, `dataRoot` varchar(250) DEFAULT NULL, `lastSync` int(11) NOT NULL DEFAULT 0, `summarize` varchar(10) DEFAULT NULL, `summarizeField` varchar(250) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `dataset` -- INSERT INTO `dataset` (`DataSetID`, `DataSet`, `Description`, `UserID`, `LastDataEdit`, `code`, `isLookup`, `isRemote`, `method`, `uri`, `postData`, `authentication`, `username`, `password`, `refreshRate`, `clearRate`, `runsAfter`, `dataRoot`, `lastSync`, `summarize`, `summarizeField`) VALUES (3, 'TABELA BOVINO DIREITA', NULL, 1, 0, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 86400, 0, NULL, NULL, 0, NULL, NULL), (4, 'TABELA BOVINO ESQUERDA', NULL, 1, 0, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 86400, 0, NULL, NULL, 0, NULL, NULL), (5, 'Cardápio', 'Sistema de fonte de dados para geração de Cardápio, ideal para empresas que possuem refeitórios ou desejam dar dicas de alimentação', 1, 1562778037, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 86400, 0, NULL, NULL, 0, NULL, NULL); -- -------------------------------------------------------- -- -- Estrutura da tabela `datasetcolumn` -- CREATE TABLE `datasetcolumn` ( `DataSetColumnID` int(11) NOT NULL, `DataSetID` int(11) NOT NULL, `Heading` varchar(50) NOT NULL, `DataTypeID` smallint(6) NOT NULL, `DataSetColumnTypeID` smallint(6) NOT NULL, `ListContent` varchar(1000) DEFAULT NULL, `ColumnOrder` smallint(6) NOT NULL, `Formula` varchar(1000) DEFAULT NULL, `RemoteField` varchar(250) DEFAULT NULL, `showFilter` tinyint(4) DEFAULT 1, `showSort` tinyint(4) DEFAULT 1 ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `datasetcolumn` -- INSERT INTO `datasetcolumn` (`DataSetColumnID`, `DataSetID`, `Heading`, `DataTypeID`, `DataSetColumnTypeID`, `ListContent`, `ColumnOrder`, `Formula`, `RemoteField`, `showFilter`, `showSort`) VALUES (6, 3, 'Produto', 1, 1, NULL, 1, NULL, NULL, 0, 0), (7, 3, 'Preco', 1, 1, NULL, 2, NULL, NULL, 0, 0), (8, 4, 'Produto', 1, 1, NULL, 1, NULL, NULL, 0, 0), (9, 4, 'Preco', 1, 1, NULL, 2, NULL, NULL, 0, 0), (10, 4, 'Imagem', 5, 1, NULL, 3, NULL, NULL, 0, 0), (11, 5, 'Dia', 1, 1, '01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31', 1, NULL, NULL, 1, 1), (12, 5, 'Mes', 1, 1, '01,02,03,04,05,06,07,08,09,10,11,12', 2, NULL, NULL, 1, 1), (13, 5, 'MesDesc', 1, 2, NULL, 3, '(MONTHNAME(CONCAT(DATE_FORMAT(Curdate(),\'%Y\'),\'-\',Mes,\'-\',Dia)))', NULL, 1, 1), (14, 5, 'DiaSemana', 1, 2, NULL, 4, '(CASE WEEKDAY(CONCAT(DATE_FORMAT(CurDate(), \'%Y\'),\'-\',Mes,\'-\',Dia)) when 0 then \'Segunda-feira\' when 1 then \'Terça-feira\' when 2 then \'Quarta-feira\' when 3 then \'Quinta-feira\' when 4 then \'Sexta-feira\' when 5 then \'Sábado\' when 6 then \'Domingo\' END) ', NULL, 1, 1), (15, 5, 'Principal', 1, 1, '', 5, '', NULL, 1, 1), (16, 5, 'Acompanhamento', 1, 1, '', 6, '', NULL, 1, 1), (17, 5, 'Opcional', 1, 1, '', 7, '', NULL, 1, 1), (18, 5, 'Imagem', 5, 1, NULL, 8, NULL, NULL, 1, 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `datasetcolumntype` -- CREATE TABLE `datasetcolumntype` ( `DataSetColumnTypeID` smallint(6) NOT NULL, `DataSetColumnType` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `datasetcolumntype` -- INSERT INTO `datasetcolumntype` (`DataSetColumnTypeID`, `DataSetColumnType`) VALUES (1, 'Value'), (2, 'Formula'), (3, 'Remote'); -- -------------------------------------------------------- -- -- Estrutura da tabela `dataset_3` -- CREATE TABLE `dataset_3` ( `id` int(11) NOT NULL, `Produto` text DEFAULT NULL, `Preco` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `dataset_3` -- INSERT INTO `dataset_3` (`id`, `Produto`, `Preco`) VALUES (1, 'Fraldinha Maturada', '32,99'), (2, 'Fraldinha Peça Embalada', '16,98'), (3, 'Lagarto Plano Resfriado', '18,95'), (4, 'Lagarto Redondo Pç. Emb.', '19,70'), (5, 'Músculo de Primeira', '19,75'), (6, 'Músculo de Segunda', '11,99'), (7, 'Paleta Resfriada', '12,97'), (8, 'Patinho Resfriado', '19,75'), (9, 'Peito Bovino Resfriado', '12,97'), (10, 'Picanha Especial', '58,60'), (11, 'Picanha Peça Embalada', '25,90'), (12, 'Lagarto Redondo Resfriado', '20,90'); -- -------------------------------------------------------- -- -- Estrutura da tabela `dataset_4` -- CREATE TABLE `dataset_4` ( `id` int(11) NOT NULL, `Produto` text DEFAULT NULL, `Preco` text DEFAULT NULL, `Imagem` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `dataset_4` -- INSERT INTO `dataset_4` (`id`, `Produto`, `Preco`, `Imagem`) VALUES (1, 'Acém Resfriado', '12,97', 0), (2, 'Alcatra Peça Embalada', '23,80', NULL), (3, 'Alcatra Resfriada', '26,88', NULL), (4, 'Capa de Filé Pç. Emb.', '13,98', NULL), (5, 'Contrafilé Bandeja', '31,79', NULL), (6, 'Contrafilé Mat. Pç. Emb.', '35,28', NULL), (7, 'Contrafilé Peça Embalada', '23,80', NULL), (8, 'Contrafilé Resfriado', '26,95', NULL), (9, 'Chã de Dentro', '23,05', NULL), (10, 'Chã de Dentro Bandeja', '26,99', NULL), (11, 'Entrecotê', '30,10', NULL), (12, 'Filé Mignon Resfriado', '35,90', NULL); -- -------------------------------------------------------- -- -- Estrutura da tabela `dataset_5` -- CREATE TABLE `dataset_5` ( `id` int(11) NOT NULL, `Dia` text DEFAULT NULL, `Mes` text DEFAULT NULL, `Principal` text DEFAULT NULL, `Acompanhamento` text DEFAULT NULL, `Opcional` text DEFAULT NULL, `Imagem` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `dataset_5` -- INSERT INTO `dataset_5` (`id`, `Dia`, `Mes`, `Principal`, `Acompanhamento`, `Opcional`, `Imagem`) VALUES (1, '10', '07', 'Arror de Forno', 'Bata Palha', 'Filé de frango à Milanesa', 24); -- -------------------------------------------------------- -- -- Estrutura da tabela `datatype` -- CREATE TABLE `datatype` ( `DataTypeID` smallint(6) NOT NULL, `DataType` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `datatype` -- INSERT INTO `datatype` (`DataTypeID`, `DataType`) VALUES (1, 'String'), (2, 'Number'), (3, 'Date'), (4, 'External Image'), (5, 'Library Image'); -- -------------------------------------------------------- -- -- Estrutura da tabela `daypart` -- CREATE TABLE `daypart` ( `dayPartId` int(11) NOT NULL, `name` varchar(50) NOT NULL, `description` varchar(1000) DEFAULT NULL, `isRetired` tinyint(4) DEFAULT 0, `userid` int(11) NOT NULL, `startTime` varchar(8) DEFAULT '00:00:00', `endTime` varchar(8) DEFAULT '00:00:00', `exceptions` text DEFAULT NULL, `isAlways` tinyint(4) NOT NULL DEFAULT 0, `isCustom` tinyint(4) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `daypart` -- INSERT INTO `daypart` (`dayPartId`, `name`, `description`, `isRetired`, `userid`, `startTime`, `endTime`, `exceptions`, `isAlways`, `isCustom`) VALUES (1, 'Custom', 'User specifies the from/to date', 0, 1, '', '', '', 0, 1), (2, 'Always', 'Event runs always', 0, 1, '', '', '', 1, 0); -- -------------------------------------------------------- -- -- Estrutura da tabela `display` -- CREATE TABLE `display` ( `displayid` int(11) NOT NULL, `auditingUntil` int(11) NOT NULL DEFAULT 0 COMMENT 'Is this display auditing', `display` varchar(50) NOT NULL, `defaultlayoutid` int(8) NOT NULL, `license` varchar(40) DEFAULT NULL, `licensed` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Is the Requested License Key Allowed', `loggedin` tinyint(4) NOT NULL DEFAULT 0, `lastaccessed` int(11) DEFAULT NULL, `inc_schedule` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Will this default be used in the scheduling calcs', `email_alert` tinyint(1) NOT NULL DEFAULT 1, `alert_timeout` int(11) NOT NULL DEFAULT 0, `ClientAddress` varchar(100) DEFAULT NULL, `MediaInventoryStatus` tinyint(4) NOT NULL DEFAULT 0, `MacAddress` varchar(254) DEFAULT NULL COMMENT 'Mac Address of the Client', `LastChanged` int(11) DEFAULT NULL COMMENT 'Last time this Mac Address changed', `NumberOfMacAddressChanges` int(11) NOT NULL DEFAULT 0, `LastWakeOnLanCommandSent` int(11) DEFAULT NULL, `WakeOnLan` tinyint(4) NOT NULL DEFAULT 0, `WakeOnLanTime` varchar(5) DEFAULT NULL, `BroadCastAddress` varchar(100) DEFAULT NULL, `SecureOn` varchar(17) DEFAULT NULL, `Cidr` varchar(6) DEFAULT NULL, `GeoLocation` point DEFAULT NULL, `version_instructions` varchar(255) DEFAULT NULL, `client_type` varchar(20) DEFAULT NULL, `client_version` varchar(15) DEFAULT NULL, `client_code` smallint(6) DEFAULT NULL, `displayprofileid` int(11) DEFAULT NULL, `screenShotRequested` tinyint(4) NOT NULL DEFAULT 0, `storageAvailableSpace` bigint(20) DEFAULT NULL, `storageTotalSpace` bigint(20) DEFAULT NULL, `xmrChannel` varchar(254) DEFAULT NULL, `xmrPubKey` text DEFAULT NULL, `lastCommandSuccess` tinyint(4) NOT NULL DEFAULT 2, `deviceName` varchar(254) DEFAULT NULL, `timeZone` varchar(254) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `displayevent` -- CREATE TABLE `displayevent` ( `displayEventId` bigint(20) NOT NULL, `eventDate` int(11) NOT NULL, `displayId` int(4) NOT NULL, `start` int(11) NOT NULL, `end` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `displaygroup` -- CREATE TABLE `displaygroup` ( `DisplayGroupID` int(11) NOT NULL, `DisplayGroup` varchar(50) NOT NULL, `Description` varchar(254) DEFAULT NULL, `IsDisplaySpecific` tinyint(4) NOT NULL DEFAULT 0, `isDynamic` tinyint(4) NOT NULL DEFAULT 0, `dynamicCriteria` varchar(2000) DEFAULT NULL, `userId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `displayprofile` -- CREATE TABLE `displayprofile` ( `displayprofileid` int(11) NOT NULL, `name` varchar(50) NOT NULL, `type` varchar(15) NOT NULL, `config` text NOT NULL, `isdefault` int(11) NOT NULL, `userid` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `displayprofile` -- INSERT INTO `displayprofile` (`displayprofileid`, `name`, `type`, `config`, `isdefault`, `userid`) VALUES (2, 'Windows', 'windows', '[]', 1, 1), (3, 'Android', 'android', '[]', 1, 1), (4, 'webOS', 'lg', '[]', 1, 1), (5, 'Linux', 'linux', '{}', 1, 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `group` -- CREATE TABLE `group` ( `groupID` int(11) NOT NULL, `group` varchar(50) NOT NULL, `IsUserSpecific` tinyint(4) NOT NULL DEFAULT 0, `IsEveryone` tinyint(4) NOT NULL DEFAULT 0, `libraryQuota` int(11) DEFAULT NULL, `isSystemNotification` tinyint(4) NOT NULL DEFAULT 0, `isDisplayNotification` tinyint(4) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Groups'; -- -- Extraindo dados da tabela `group` -- INSERT INTO `group` (`groupID`, `group`, `IsUserSpecific`, `IsEveryone`, `libraryQuota`, `isSystemNotification`, `isDisplayNotification`) VALUES (1, 'Users', 0, 0, NULL, 0, 0), (2, 'Everyone', 0, 1, NULL, 0, 0), (3, 'mgatv', 1, 0, NULL, 1, 0), (4, 'System Notifications', 0, 0, NULL, 1, 0); -- -------------------------------------------------------- -- -- Estrutura da tabela `help` -- CREATE TABLE `help` ( `HelpID` int(11) NOT NULL, `Topic` varchar(254) NOT NULL, `Category` varchar(254) NOT NULL DEFAULT 'General', `Link` varchar(254) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `help` -- INSERT INTO `help` (`HelpID`, `Topic`, `Category`, `Link`) VALUES (1, 'Layout', 'General', 'layouts.html'), (2, 'Content', 'General', 'media.html'), (4, 'Schedule', 'General', 'scheduling.html'), (5, 'Group', 'General', 'users_groups.html'), (6, 'Admin', 'General', 'cms_settings.html'), (7, 'Report', 'General', 'troubleshooting.html'), (8, 'Dashboard', 'General', 'tour.html'), (9, 'User', 'General', 'users.html'), (10, 'Display', 'General', 'displays.html'), (11, 'DisplayGroup', 'General', 'displays_groups.html'), (12, 'Layout', 'Add', 'layouts.html#Add_Layout'), (13, 'Layout', 'Background', 'layouts_designer.html#Background'), (14, 'Content', 'Assign', 'layouts_playlists.html#Assigning_Content'), (15, 'Layout', 'RegionOptions', 'layouts_regions.html'), (16, 'Content', 'AddtoLibrary', 'media_library.html'), (17, 'Display', 'Edit', 'displays.html#Display_Edit'), (18, 'Display', 'Delete', 'displays.html#Display_Delete'), (19, 'Displays', 'Groups', 'displays_groups.html#Group_Members'), (20, 'UserGroup', 'Add', 'users_groups.html#Adding_Group'), (21, 'User', 'Add', 'users_administration.html#Add_User'), (22, 'User', 'Delete', 'users_administration.html#Delete_User'), (23, 'Content', 'Config', 'cms_settings.html#Content'), (24, 'LayoutMedia', 'Permissions', 'users_permissions.html'), (25, 'Region', 'Permissions', 'users_permissions.html'), (26, 'Library', 'Assign', 'layouts_playlists.html#Add_From_Library'), (27, 'Media', 'Delete', 'media_library.html#Delete'), (28, 'DisplayGroup', 'Add', 'displays_groups.html#Add_Group'), (29, 'DisplayGroup', 'Edit', 'displays_groups.html#Edit_Group'), (30, 'DisplayGroup', 'Delete', 'displays_groups.html#Delete_Group'), (31, 'DisplayGroup', 'Members', 'displays_groups.html#Group_Members'), (32, 'DisplayGroup', 'Permissions', 'users_permissions.html'), (34, 'Schedule', 'ScheduleNow', 'scheduling_now.html'), (35, 'Layout', 'Delete', 'layouts.html#Delete_Layout'), (36, 'Layout', 'Copy', 'layouts.html#Copy_Layout'), (37, 'Schedule', 'Edit', 'scheduling_events.html#Edit'), (38, 'Schedule', 'Add', 'scheduling_events.html#Add'), (39, 'Layout', 'Permissions', 'users_permissions.html'), (40, 'Display', 'MediaInventory', 'displays.html#Media_Inventory'), (41, 'User', 'ChangePassword', 'users.html#Change_Password'), (42, 'Schedule', 'Delete', 'scheduling_events.html'), (43, 'Layout', 'Edit', 'layouts_designer.html#Edit_Layout'), (44, 'Media', 'Permissions', 'users_permissions.html'), (45, 'Display', 'DefaultLayout', 'displays.html#DefaultLayout'), (46, 'UserGroup', 'Edit', 'users_groups.html#Edit_Group'), (47, 'UserGroup', 'Members', 'users_groups.html#Group_Member'), (48, 'User', 'PageSecurity', 'users_permissions.html#Page_Security'), (49, 'User', 'MenuSecurity', 'users_permissions.html#Menu_Security'), (50, 'UserGroup', 'Delete', 'users_groups.html#Delete_Group'), (51, 'User', 'Edit', 'users_administration.html#Edit_User'), (52, 'User', 'Applications', 'users_administration.html#Users_MyApplications'), (53, 'User', 'SetHomepage', 'users_administration.html#Media_Dashboard'), (54, 'DataSet', 'General', 'media_datasets.html'), (55, 'DataSet', 'Add', 'media_datasets.html#Create_Dataset'), (56, 'DataSet', 'Edit', 'media_datasets.html#Edit_Dataset'), (57, 'DataSet', 'Delete', 'media_datasets.html#Delete_Dataset'), (58, 'DataSet', 'AddColumn', 'media_datasets.html#Dataset_Column'), (59, 'DataSet', 'EditColumn', 'media_datasets.html#Dataset_Column'), (60, 'DataSet', 'DeleteColumn', 'media_datasets.html#Dataset_Column'), (61, 'DataSet', 'Data', 'media_datasets.html#Dataset_Row'), (62, 'DataSet', 'Permissions', 'users_permissions.html'), (63, 'Fault', 'General', 'troubleshooting.html#Report_Fault'), (65, 'Stats', 'General', 'displays_metrics.html'), (66, 'Resolution', 'General', 'layouts_resolutions.html'), (67, 'Template', 'General', 'layouts_templates.html'), (68, 'Services', 'Register', '#Registered_Applications'), (69, 'OAuth', 'General', 'api_oauth.html'), (70, 'Services', 'Log', 'api_oauth.html#oAuthLog'), (71, 'Module', 'Edit', 'media_modules.html'), (72, 'Module', 'General', 'media_modules.html'), (73, 'Campaign', 'General', 'layouts_campaigns.html'), (74, 'License', 'General', 'licence_information.html'), (75, 'DataSet', 'ViewColumns', 'media_datasets.html#Dataset_Column'), (76, 'Campaign', 'Permissions', 'users_permissions.html'), (77, 'Transition', 'Edit', 'layouts_transitions.html'), (78, 'User', 'SetPassword', 'users_administration.html#Set_Password'), (79, 'DataSet', 'ImportCSV', 'media_datasets.htmlmedia_datasets.html#Import_CSV'), (80, 'DisplayGroup', 'FileAssociations', 'displays_fileassociations.html'), (81, 'Statusdashboard', 'General', 'tour_status_dashboard.html'), (82, 'Displayprofile', 'General', 'displays_settings.html'), (83, 'DisplayProfile', 'Edit', 'displays_settings.html#edit'), (84, 'DisplayProfile', 'Delete', 'displays_settings.html#delete'); -- -------------------------------------------------------- -- -- Estrutura da tabela `layout` -- CREATE TABLE `layout` ( `layoutID` int(11) NOT NULL, `layout` varchar(50) NOT NULL, `userID` int(11) NOT NULL COMMENT 'The UserID that created this layout', `createdDT` datetime NOT NULL, `modifiedDT` datetime NOT NULL, `description` varchar(254) DEFAULT NULL, `tags` varchar(254) DEFAULT NULL, `retired` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Is this layout retired', `duration` int(11) NOT NULL DEFAULT 0 COMMENT 'The duration in seconds', `backgroundImageId` int(11) DEFAULT NULL, `status` tinyint(4) NOT NULL DEFAULT 0, `width` decimal(10,0) NOT NULL, `height` decimal(10,0) NOT NULL, `backgroundColor` varchar(25) DEFAULT NULL, `backgroundzIndex` int(11) NOT NULL DEFAULT 1, `schemaVersion` tinyint(4) NOT NULL, `statusMessage` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Layouts'; -- -- Extraindo dados da tabela `layout` -- INSERT INTO `layout` (`layoutID`, `layout`, `userID`, `createdDT`, `modifiedDT`, `description`, `tags`, `retired`, `duration`, `backgroundImageId`, `status`, `width`, `height`, `backgroundColor`, `backgroundzIndex`, `schemaVersion`, `statusMessage`) VALUES (1, 'Default Layout', 1, '2019-07-10 16:45:00', '2019-07-10 14:00:47', '', NULL, 0, 15, NULL, 1, '1920', '1080', '#000000', 0, 3, NULL), (2, 'test3', 1, '2019-07-10 16:45:27', '2019-07-10 16:47:42', NULL, NULL, 0, 52, NULL, 1, '1920', '1080', '#000', 0, 3, NULL), (4, 'TABELA AÇOUGUE BOVINOS', 1, '2019-07-10 13:55:49', '2019-07-10 13:56:54', '', NULL, 0, 10, 22, 1, '1920', '1080', '#000000', 0, 3, NULL), (5, 'Campeonato Brasileiro', 1, '2019-07-10 13:58:42', '2019-07-10 14:01:53', 'Tabela do campeonato Brasileiro', NULL, 0, 5, NULL, 1, '1280', '720', '#000000', 0, 3, NULL), (6, 'Cardápio', 1, '2019-07-10 13:58:49', '2019-07-10 14:00:09', 'Layout para apresentação do cardápio para empresas que possuem refeitórios ou que desejam apresentar dicas de alimentação para os dias da semana. Dados atualizados através da fonte de dados', NULL, 0, 5, 25, 1, '1280', '720', '#000000', 0, 3, NULL), (7, 'HORA CERTA', 1, '2019-07-10 13:58:51', '2019-07-10 14:00:03', '', NULL, 0, 60, NULL, 2, '1280', '720', '#000000', 0, 3, NULL), (8, 'Youtube - LiveStream', 1, '2019-07-10 13:58:52', '2019-07-10 13:59:43', 'Layout reservado a links de Stream via Youtube.', NULL, 0, 60, NULL, 2, '1920', '1080', '#000000', 0, 3, NULL), (9, 'PREVISÃO DO TEMPO', 1, '2019-07-10 14:03:39', '2019-07-10 14:03:45', '', NULL, 0, 60, NULL, 1, '1920', '1080', '#000', 0, 3, NULL), (10, 'Uol-Dicas', 1, '2019-07-10 14:06:31', '2019-07-10 14:06:44', 'UOL - O Conteúdo é dividido em 11 blocos com dez notícias cada, em média. Os horários de atualização são: 6h30 / 8h / 9h30 / 11h / 12h30 / 14h / 15h30 / 17h / 18h30 / 20h / 22h, de segunda a sexta-feira', NULL, 0, 5, NULL, 1, '1920', '1080', '#000000', 0, 3, NULL), (11, 'Uol-Economia', 1, '2019-07-10 14:06:32', '2019-07-10 14:06:32', 'UOL - O Conteúdo é dividido em 11 blocos com dez notícias cada, em média. Os horários de atualização são: 6h30 / 8h / 9h30 / 11h / 12h30 / 14h / 15h30 / 17h / 18h30 / 20h / 22h, de segunda a sexta-feira', NULL, 0, 0, NULL, 3, '1920', '1080', '#000000', 0, 3, NULL), (12, 'Uol-Esportes', 1, '2019-07-10 14:06:34', '2019-07-10 14:06:34', 'UOL - O Conteúdo é dividido em 11 blocos com dez notícias cada, em média. Os horários de atualização são: 6h30 / 8h / 9h30 / 11h / 12h30 / 14h / 15h30 / 17h / 18h30 / 20h / 22h, de segunda a sexta-feira', NULL, 0, 0, NULL, 3, '1920', '1080', '#000000', 0, 3, NULL), (13, 'Uol-Política', 1, '2019-07-10 14:06:35', '2019-07-10 14:06:35', 'UOL - O Conteúdo é dividido em 11 blocos com dez notícias cada, em média. Os horários de atualização são: 6h30 / 8h / 9h30 / 11h / 12h30 / 14h / 15h30 / 17h / 18h30 / 20h / 22h, de segunda a sexta-feira', NULL, 0, 0, NULL, 3, '1920', '1080', '#000000', 0, 3, NULL), (14, 'Uol-Televisão', 1, '2019-07-10 14:06:36', '2019-07-10 14:06:36', 'UOL - O Conteúdo é dividido em 11 blocos com dez notícias cada, em média. Os horários de atualização são: 6h30 / 8h / 9h30 / 11h / 12h30 / 14h / 15h30 / 17h / 18h30 / 20h / 22h, de segunda a sexta-feira', NULL, 0, 0, NULL, 3, '1920', '1080', '#000000', 0, 3, NULL); -- -------------------------------------------------------- -- -- Estrutura da tabela `lkcampaignlayout` -- CREATE TABLE `lkcampaignlayout` ( `LkCampaignLayoutID` int(11) NOT NULL, `CampaignID` int(11) NOT NULL, `LayoutID` int(11) NOT NULL, `DisplayOrder` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `lkcampaignlayout` -- INSERT INTO `lkcampaignlayout` (`LkCampaignLayoutID`, `CampaignID`, `LayoutID`, `DisplayOrder`) VALUES (1, 1, 1, 1), (2, 2, 2, 1), (4, 4, 4, 1), (5, 5, 5, 1), (6, 6, 6, 1), (7, 7, 7, 1), (8, 8, 8, 1), (9, 9, 9, 1), (10, 10, 10, 1), (11, 11, 11, 1), (12, 12, 12, 1), (13, 13, 13, 1), (14, 14, 14, 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `lkcommanddisplayprofile` -- CREATE TABLE `lkcommanddisplayprofile` ( `commandId` int(11) NOT NULL, `displayProfileId` int(11) NOT NULL, `commandString` varchar(1000) NOT NULL, `validationString` varchar(1000) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `lkdgdg` -- CREATE TABLE `lkdgdg` ( `parentId` int(11) NOT NULL, `childId` int(11) NOT NULL, `depth` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `lkdisplaydg` -- CREATE TABLE `lkdisplaydg` ( `LkDisplayDGID` int(11) NOT NULL, `DisplayGroupID` int(11) NOT NULL, `DisplayID` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `lklayoutdisplaygroup` -- CREATE TABLE `lklayoutdisplaygroup` ( `id` int(11) NOT NULL, `layoutId` int(11) NOT NULL, `displayGroupId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Layout associations directly to Display Groups'; -- -------------------------------------------------------- -- -- Estrutura da tabela `lkmediadisplaygroup` -- CREATE TABLE `lkmediadisplaygroup` ( `id` int(11) NOT NULL, `mediaid` int(11) NOT NULL, `displaygroupid` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='File associations directly to Display Groups'; -- -------------------------------------------------------- -- -- Estrutura da tabela `lknotificationdg` -- CREATE TABLE `lknotificationdg` ( `lkNotificationDgId` int(11) NOT NULL, `notificationId` int(11) NOT NULL, `displayGroupId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `lknotificationgroup` -- CREATE TABLE `lknotificationgroup` ( `lkNotificationGroupId` int(11) NOT NULL, `notificationId` int(11) NOT NULL, `groupId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `lknotificationuser` -- CREATE TABLE `lknotificationuser` ( `lkNotificationUserId` int(11) NOT NULL, `notificationId` int(11) NOT NULL, `userId` int(11) NOT NULL, `read` tinyint(4) NOT NULL, `readDt` int(11) NOT NULL, `emailDt` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `lkregionplaylist` -- CREATE TABLE `lkregionplaylist` ( `regionId` int(11) NOT NULL, `playlistId` int(11) NOT NULL, `displayOrder` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `lkregionplaylist` -- INSERT INTO `lkregionplaylist` (`regionId`, `playlistId`, `displayOrder`) VALUES (1, 1, 1), (2, 2, 1), (3, 3, 1), (9, 9, 1), (10, 10, 1), (11, 11, 1), (13, 13, 1), (14, 14, 1), (15, 15, 1), (16, 16, 1), (17, 17, 1), (18, 18, 1), (19, 19, 1), (20, 20, 1), (21, 21, 1), (22, 22, 1), (23, 23, 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `lkscheduledisplaygroup` -- CREATE TABLE `lkscheduledisplaygroup` ( `eventId` int(11) NOT NULL, `displayGroupId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `lktagcampaign` -- CREATE TABLE `lktagcampaign` ( `lkTagCampaignId` int(11) NOT NULL, `tagId` int(11) NOT NULL, `campaignId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `lktagdisplaygroup` -- CREATE TABLE `lktagdisplaygroup` ( `lkTagDisplayGroupId` int(11) NOT NULL, `tagId` int(11) NOT NULL, `displayGroupId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `lktaglayout` -- CREATE TABLE `lktaglayout` ( `lkTagLayoutId` int(11) NOT NULL, `tagId` int(11) NOT NULL, `layoutId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `lktaglayout` -- INSERT INTO `lktaglayout` (`lkTagLayoutId`, `tagId`, `layoutId`) VALUES (1, 4, 1), (2, 5, 1), (4, 5, 4), (5, 5, 5), (6, 5, 6), (7, 5, 7), (8, 5, 8), (9, 5, 9), (10, 5, 10), (11, 5, 11), (12, 5, 12), (13, 5, 13), (14, 5, 14); -- -------------------------------------------------------- -- -- Estrutura da tabela `lktagmedia` -- CREATE TABLE `lktagmedia` ( `lkTagMediaId` int(11) NOT NULL, `tagId` int(11) NOT NULL, `mediaId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `lktagmedia` -- INSERT INTO `lktagmedia` (`lkTagMediaId`, `tagId`, `mediaId`) VALUES (1, 5, 22), (2, 5, 24), (3, 5, 25); -- -------------------------------------------------------- -- -- Estrutura da tabela `lkusergroup` -- CREATE TABLE `lkusergroup` ( `LkUserGroupID` int(11) NOT NULL, `GroupID` int(11) NOT NULL, `UserID` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `lkusergroup` -- INSERT INTO `lkusergroup` (`LkUserGroupID`, `GroupID`, `UserID`) VALUES (1, 3, 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `lkwidgetaudio` -- CREATE TABLE `lkwidgetaudio` ( `widgetId` int(11) NOT NULL, `mediaId` int(11) NOT NULL, `volume` tinyint(4) DEFAULT 100, `loop` tinyint(4) DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `lkwidgetmedia` -- CREATE TABLE `lkwidgetmedia` ( `widgetId` int(11) NOT NULL, `mediaId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `lkwidgetmedia` -- INSERT INTO `lkwidgetmedia` (`widgetId`, `mediaId`) VALUES (3, 20), (4, 21), (14, 23), (15, 46), (15, 47), (15, 48), (15, 49), (15, 50), (15, 51), (15, 52), (15, 53), (15, 54), (15, 55), (15, 56), (15, 57), (15, 58), (15, 59), (15, 61), (15, 62), (15, 63), (15, 64), (15, 66), (16, 24), (20, 67), (20, 68), (20, 69), (20, 70); -- -------------------------------------------------------- -- -- Estrutura da tabela `log` -- CREATE TABLE `log` ( `logid` bigint(20) NOT NULL COMMENT 'The log ID', `runNo` varchar(10) NOT NULL, `logdate` datetime NOT NULL COMMENT 'The log date', `channel` varchar(20) NOT NULL, `type` varchar(254) NOT NULL, `page` varchar(50) NOT NULL, `function` varchar(50) DEFAULT NULL, `message` longtext NOT NULL, `userID` int(11) NOT NULL DEFAULT 0, `displayID` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `log` -- INSERT INTO `log` (`logid`, `runNo`, `logdate`, `channel`, `type`, `page`, `function`, `message`, `userID`, `displayID`) VALUES (1, '04d2e3c', '2019-07-10 16:45:29', 'WEB', 'ALERT', '/layout/status/2', 'GET', 'Layout ID 2 has an empty region', 1, 0), (2, 'fc5fe9b', '2019-07-10 16:46:30', 'WEB', 'ALERT', '/layout/status/2', 'GET', 'Layout ID 2 has an empty region', 1, 0), (3, '1346d46', '2019-07-10 13:51:30', 'WEB', 'ERROR', '/layout/status/3', 'GET', 'Cannot build Layout 3. Unexpected error: Não é possível encontrar mídia', 1, 0), (4, '2ad0e26', '2019-07-10 13:51:35', 'WEB', 'ERROR', '/region/form/timeline/7', 'GET', 'An exception has been thrown during the rendering of a template (\"Não é possível encontrar mídia\"). Exception Type: Twig_Error_Runtime', 1, 0), (5, '4b28714', '2019-07-10 13:51:45', 'WEB', 'ALERT', '/layout/status/3', 'GET', 'Layout ID 3 has an empty region', 1, 0), (6, 'bce7dc2', '2019-07-10 13:54:22', 'WEB', 'ERROR', '/layout/import', 'POST', 'Error importing Layout: O nome para o conteúdo entre 1 a 100 caractéres', 1, 0), (7, 'eab20e8', '2019-07-10 13:54:35', 'WEB', 'ERROR', '/layout/import', 'POST', 'Error importing Layout: Já existe uma tabela chamada TABELA BOVINO DIREITA. Por favor escolha outro nome.', 1, 0), (8, '8a91ba1', '2019-07-10 13:55:58', 'WEB', 'ERROR', '/layout/status/4', 'GET', 'Cannot build Layout 4. Unexpected error: Não é possível encontrar mídia', 1, 0), (9, '2ada268', '2019-07-10 13:56:02', 'WEB', 'ERROR', '/region/form/timeline/12', 'GET', 'An exception has been thrown during the rendering of a template (\"Não é possível encontrar mídia\"). Exception Type: Twig_Error_Runtime', 1, 0), (10, 'ad6e503', '2019-07-10 13:56:17', 'WEB', 'ALERT', '/layout/status/4', 'GET', 'Layout ID 4 has an empty region', 1, 0), (11, 'd111100', '2019-07-10 14:01:55', 'WEB', 'ERROR', '/playlist/widget/resource/14/15', 'GET', 'Rejected Request 14 to http://futebolnarede.com/img/clubes/simbolos/simb_56.png because Client error: `GET http://futebolnarede.com/img/clubes/simbolos/simb_56.png` resulted in a `404 Not Found` response:\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\" (truncated...)\n', 1, 0), (12, 'd111100', '2019-07-10 14:01:56', 'WEB', 'ERROR', '/playlist/widget/resource/14/15', 'GET', 'Rejected Request 19 to http://futebolnarede.com/img/clubes/simbolos/simb_88.png because Client error: `GET http://futebolnarede.com/img/clubes/simbolos/simb_88.png` resulted in a `404 Not Found` response:\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\" (truncated...)\n', 1, 0); -- -------------------------------------------------------- -- -- Estrutura da tabela `media` -- CREATE TABLE `media` ( `mediaID` int(11) NOT NULL, `name` varchar(100) NOT NULL, `type` varchar(15) NOT NULL, `duration` int(11) NOT NULL, `originalFilename` varchar(254) DEFAULT NULL, `storedAs` varchar(254) DEFAULT NULL COMMENT 'What has this media been stored as', `MD5` varchar(32) DEFAULT NULL, `FileSize` bigint(20) DEFAULT NULL, `userID` int(11) NOT NULL, `retired` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Is retired?', `isEdited` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Is this the current record', `editedMediaID` int(11) DEFAULT NULL COMMENT 'The Parent ID', `moduleSystemFile` tinyint(1) NOT NULL DEFAULT 0, `valid` tinyint(1) NOT NULL DEFAULT 1, `expires` int(11) DEFAULT NULL, `released` tinyint(4) NOT NULL DEFAULT 1, `apiRef` varchar(254) DEFAULT NULL, `createdDt` datetime DEFAULT NULL, `modifiedDt` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `media` -- INSERT INTO `media` (`mediaID`, `name`, `type`, `duration`, `originalFilename`, `storedAs`, `MD5`, `FileSize`, `userID`, `retired`, `isEdited`, `editedMediaID`, `moduleSystemFile`, `valid`, `expires`, `released`, `apiRef`, `createdDt`, `modifiedDt`) VALUES (1, 'jquery-1.11.1.min.js', 'module', 0, 'jquery-1.11.1.min.js', 'jquery-1.11.1.min.js', '3c9137d88a00b1ae0b41ff6a70571615', 95785, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', '2019-07-10 14:03:21'), (2, 'jquery-cycle-2.1.6.min.js', 'module', 0, 'jquery-cycle-2.1.6.min.js', 'jquery-cycle-2.1.6.min.js', '212480cf1292db459557814e2d7a571d', 28876, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', '2019-07-10 16:45:00'), (3, 'moment.js', 'module', 0, 'moment.js', 'moment.js', '67bb26c11dba6c366834e65f5933aff2', 160251, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', '2019-07-10 16:45:00'), (4, 'flipclock.min.js', 'module', 0, 'flipclock.min.js', 'flipclock.min.js', 'b9d7742384bdf912c51b6a1b5d674f7a', 21107, 0, 0, 0, NULL, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', NULL), (5, 'xibo-layout-scaler.js', 'module', 0, 'xibo-layout-scaler.js', 'xibo-layout-scaler.js', '7fb2977f1880dba96af9eab6ad088807', 4460, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', '2019-07-10 14:03:21'), (6, 'xibo-dataset-render.js', 'module', 0, 'xibo-dataset-render.js', 'xibo-dataset-render.js', 'ffcde6f93e4ac6cb6d4dddad45d344db', 1585, 0, 0, 0, NULL, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', NULL), (7, 'xibo-image-render.js', 'module', 0, 'xibo-image-render.js', 'xibo-image-render.js', '6152d3e99b2c61bb3db365d108337483', 2988, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', '2019-07-10 14:03:21'), (8, 'Aileron Heavy Regular', 'font', 0, 'Aileron-Heavy.otf', '8.otf', '621ba5aaf66e52f3def0cf69807104b9', 30060, 1, 0, 0, NULL, 0, 1, 0, 1, NULL, '2019-07-10 16:45:00', NULL), (9, 'Aileron Regular', 'font', 0, 'Aileron-Regular.otf', '9.otf', 'd321fa78bb7190a8ca7e14213ef63203', 27644, 1, 0, 0, NULL, 0, 1, 0, 1, NULL, '2019-07-10 16:45:00', NULL), (10, 'Dancing Script Regular', 'font', 0, 'DancingScript-Regular.ttf', '10.ttf', '86aadd0451f9e7dafa957e1e61dd2ed7', 116580, 1, 0, 0, NULL, 0, 1, 0, 1, NULL, '2019-07-10 16:45:00', NULL), (11, 'Railway Regular', 'font', 0, 'Railway.ttf', '11.ttf', '58963d3a57da7a70ac36d331416746c5', 45884, 1, 0, 0, NULL, 0, 1, 0, 1, NULL, '2019-07-10 16:45:00', NULL), (12, 'Linear Regular', 'font', 0, 'linear-by-braydon-fuller.otf', '12.otf', 'afb33470c582079834acd8b9f979ce1a', 19684, 1, 0, 0, NULL, 0, 1, 0, 1, NULL, '2019-07-10 16:45:00', NULL), (13, 'xibo-text-render.js', 'module', 0, 'xibo-text-render.js', 'xibo-text-render.js', '95955771a323a2033f6be24ea7093a9d', 12017, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', '2019-07-10 16:45:00'), (14, 'jquery.marquee.min.js', 'module', 0, 'jquery.marquee.min.js', 'jquery.marquee.min.js', '2286bb4f44d9ea301131a25c5204ca0a', 2248, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', '2019-07-10 16:45:00'), (15, 'pdf.js', 'module', 0, 'pdf.js', 'pdf.js', 'dec9b89b936438760291e401c09f52aa', 333388, 0, 0, 0, NULL, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', NULL), (16, 'pdf.worker.js', 'module', 0, 'pdf.worker.js', 'pdf.worker.js', '926affd0ae3d3b69e6071b26875638c8', 1337459, 0, 0, 0, NULL, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', NULL), (17, 'compatibility.js', 'module', 0, 'compatibility.js', 'compatibility.js', '758c582a7fd2f30ec9dd8f91803a9882', 18126, 0, 0, 0, NULL, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', NULL), (18, 'xibo-webpage-render.js', 'module', 0, 'xibo-webpage-render.js', 'xibo-webpage-render.js', 'd59f5fc84ef7747f27baddc07fe81487', 4832, 0, 0, 0, NULL, 1, 1, 0, 1, NULL, '2019-07-10 16:45:00', NULL), (19, 'fonts.css', 'module', 0, 'fonts.css', 'fonts.css', 'b456ba26691c4eef6de411e682583e5f', 380, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 16:45:02', '2019-07-10 16:45:09'), (20, 'sumicity app.mp4', 'video', 22, 'sumicity app.mp4', '20.mp4', '3d054ee1d1cd3903909642d0b0cd4ce9', 14523047, 1, 0, 0, NULL, 0, 1, 0, 1, NULL, '2019-07-10 16:46:56', NULL), (21, 'LOTE 085 30 COM BEBIDA v3.mp4', 'video', 30, 'LOTE 085 30 COM BEBIDA v3.mp4', '21.mp4', '270fccb016d4d76ac3a24c5171356b25', 5150016, 1, 0, 0, NULL, 0, 1, 0, 1, NULL, '2019-07-10 16:47:39', NULL), (22, 'acougue01.jpg', 'image', 10, 'acougue01.jpg', '22.jpg', 'f6874be0b444770f5ed173891ce8d561', 104680, 1, 0, 0, NULL, 0, 1, 0, 1, NULL, '2019-07-10 13:51:22', NULL), (23, 'Bramil.png', 'image', 10, 'Bramil.png', '23.png', '7c77608873d94388a60092e65ef6584d', 792142, 1, 0, 0, NULL, 0, 1, 0, 1, NULL, '2019-07-10 13:52:17', NULL), (24, 'Amostra-Arroz-Forno.jpg', 'image', 10, 'Amostra-Arroz-Forno.jpg', '24.jpg', '0ee0fc2be3611ef65de8b52094bcbd68', 57937, 1, 0, 0, NULL, 0, 1, 0, 1, NULL, '2019-07-10 13:58:49', NULL), (25, 'cardápio.jpg', 'image', 10, 'cardápio.jpg', '25.jpg', 'd2c0e11c672c4138e53537dc83e6898f', 1169013, 1, 0, 0, NULL, 0, 1, 0, 1, NULL, '2019-07-10 13:58:49', NULL), (26, 'bootstrap.min.css', 'module', 0, 'bootstrap.min.css', 'bootstrap.min.css', 'ec3bb52a00e176a7181d454dffaea219', 121200, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (27, 'WeatherIcons-Regular.otf', 'module', 0, 'WeatherIcons-Regular.otf', 'WeatherIcons-Regular.otf', '145ba08b1886ec06ed80385eb768a050', 40668, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (28, 'animate.css', 'module', 0, 'animate.css', 'animate.css', '07f146141537e04ee282a965d8053198', 72259, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (29, 'font-awesome.min.css', 'module', 0, 'font-awesome.min.css', 'font-awesome.min.css', '04425bbdc6243fc6e54bf8984fe50330', 23739, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (30, 'weather-icons.min.css', 'module', 0, 'weather-icons.min.css', 'weather-icons.min.css', '96dff559d6119c163e149280ef1db88c', 26633, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (31, 'weathericons-regular-webfont.eot', 'module', 0, 'weathericons-regular-webfont.eot', 'weathericons-regular-webfont.eot', '8c0f6fd19bfa5763a0860b5930a66e14', 35151, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (32, 'weathericons-regular-webfont.svg', 'module', 0, 'weathericons-regular-webfont.svg', 'weathericons-regular-webfont.svg', 'fe45297f78b1ab6d8ed9b623d2634530', 127706, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (33, 'weathericons-regular-webfont.ttf', 'module', 0, 'weathericons-regular-webfont.ttf', 'weathericons-regular-webfont.ttf', 'cd287dcbb4564b57692cfed0e2e58345', 67016, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (34, 'weathericons-regular-webfont.woff', 'module', 0, 'weathericons-regular-webfont.woff', 'weathericons-regular-webfont.woff', 'c90a4c420dd010a5e95dedb8927a29e7', 40408, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (35, 'weathericons-regular-webfont.woff2', 'module', 0, 'weathericons-regular-webfont.woff2', 'weathericons-regular-webfont.woff2', '1cd48d78f06d33973d9d761d426e69bf', 44720, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (36, 'wi-cloudy.jpg', 'module', 0, 'wi-cloudy.jpg', 'wi-cloudy.jpg', '1766972e4d03a6c1056b503c41e94430', 379804, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (37, 'wi-day-cloudy.jpg', 'module', 0, 'wi-day-cloudy.jpg', 'wi-day-cloudy.jpg', '49b09eb3738e0a16b488297f2b6ede24', 2628732, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (38, 'wi-day-sunny.jpg', 'module', 0, 'wi-day-sunny.jpg', 'wi-day-sunny.jpg', '503ca21fd5014ddefc2cd5159766af32', 1445897, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (39, 'wi-fog.jpg', 'module', 0, 'wi-fog.jpg', 'wi-fog.jpg', '4168dc58a5eb3aa3826d8eae85088804', 597609, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (40, 'wi-hail.jpg', 'module', 0, 'wi-hail.jpg', 'wi-hail.jpg', '8c4e4024b6242eecdb754344fcfa8b6c', 827270, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (41, 'wi-night-clear.jpg', 'module', 0, 'wi-night-clear.jpg', 'wi-night-clear.jpg', 'ebdb8828051637c91109a329b2138f10', 738913, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (42, 'wi-night-partly-cloudy.jpg', 'module', 0, 'wi-night-partly-cloudy.jpg', 'wi-night-partly-cloudy.jpg', 'd50d13f4bedad3dedd108d4baad60494', 220168, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (43, 'wi-rain.jpg', 'module', 0, 'wi-rain.jpg', 'wi-rain.jpg', '637dfc650fff4976910ea46917734925', 655983, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (44, 'wi-snow.jpg', 'module', 0, 'wi-snow.jpg', 'wi-snow.jpg', '6e3def73254a72ff0b4ff45c7bba7501', 782263, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (45, 'wi-windy.jpg', 'module', 0, 'wi-windy.jpg', 'wi-windy.jpg', 'a4951eb27a8aa834469621674d193f30', 339716, 0, 0, 0, 0, 1, 1, 0, 1, NULL, '2019-07-10 14:01:14', '2019-07-10 14:03:21'), (46, 'ticker_8af04c94bf449f0822b7114d5ae3f087', 'module', 0, 'background.jpg', 'ticker_8af04c94bf449f0822b7114d5ae3f087', '5a28afae2972d19c5f929021e3726407', 367734, 0, 0, 0, 0, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', '2019-07-10 14:01:54'), (47, 'ticker_0756bbfc598e70ee8f34749673fcf1a7', 'module', 0, 'simb_29.png', 'ticker_0756bbfc598e70ee8f34749673fcf1a7', '29d07fa97398e64465588031d860559c', 6230, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (48, 'ticker_48a63aa925046ccf6b8d52c765e9cda0', 'module', 0, 'simb_22.png', 'ticker_48a63aa925046ccf6b8d52c765e9cda0', '8a32a6eafeca7a43e6c8a9319b1d014d', 3403, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (49, 'ticker_e2c857b7cc2f1c8f89f31c9a81fb49ab', 'module', 0, 'simb_15.png', 'ticker_e2c857b7cc2f1c8f89f31c9a81fb49ab', 'eb7f232530a1c4af62f905348dc523ec', 2637, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (50, 'ticker_27aa4a8a23deb28e661ef087e5ba8e01', 'module', 0, 'simb_18.png', 'ticker_27aa4a8a23deb28e661ef087e5ba8e01', 'cb3219b7315e0e84dc49f70c80eccfa7', 5217, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (51, 'ticker_43518fc873eb3079819e45fd2b0b2b92', 'module', 0, 'simb_7.png', 'ticker_43518fc873eb3079819e45fd2b0b2b92', 'bc67978e745587cdc2954b0e01f488e8', 3351, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (52, 'ticker_72f532ada578a3a21a47af8bfc04f079', 'module', 0, 'simb_17.png', 'ticker_72f532ada578a3a21a47af8bfc04f079', 'b33673c77105ae737a57b9ba424a3f50', 4631, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (53, 'ticker_fab19082b45dd4cf7b9ce52973403258', 'module', 0, 'simb_10.png', 'ticker_fab19082b45dd4cf7b9ce52973403258', 'f3913bde9bbf1d109e34b30035678e03', 3673, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (54, 'ticker_4336d454761069ba03e88a0b5ce89276', 'module', 0, 'simb_9.png', 'ticker_4336d454761069ba03e88a0b5ce89276', 'e022012bdfff3005901596e329ef36c4', 6400, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (55, 'ticker_c9381a13dff5ae996177bff2936bbe6c', 'module', 0, 'simb_23.png', 'ticker_c9381a13dff5ae996177bff2936bbe6c', '76b0206e5be1fc9328a1a8b60e634059', 2519, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (56, 'ticker_9381757c5052a348f6ca352b719ff849', 'module', 0, 'simb_11.png', 'ticker_9381757c5052a348f6ca352b719ff849', '0311f540e67859ef66972e59431221a3', 4629, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (57, 'ticker_5271087f2c0d1a27148b4a0b719793d6', 'module', 0, 'simb_6.png', 'ticker_5271087f2c0d1a27148b4a0b719793d6', '44c53f806ef0f645d8407ef40810f1f9', 5109, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (58, 'ticker_d0b3f3ff0e4a04480f7c44994a975008', 'module', 0, 'simb_8.jpe', 'ticker_d0b3f3ff0e4a04480f7c44994a975008', '7e0f3fdb861ecf06c02ee9693ac92ca0', 2360, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (59, 'ticker_d8273183a8fc70b5aeae5fd6baf31074', 'module', 0, 'simb_43.png', 'ticker_d8273183a8fc70b5aeae5fd6baf31074', '8a560db63c1877d32a48b425e2c95cef', 3690, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (60, 'ticker_3d212c67c97327aba2fbfbf2e0de2e1e', 'module', 0, 'simb_56.png', NULL, NULL, NULL, 0, 0, 0, NULL, 0, 0, NULL, 1, NULL, '2019-07-10 14:01:54', NULL), (61, 'ticker_41c6b76b71ccf18ccbdd61153b7b170e', 'module', 0, 'simb_24.png', 'ticker_41c6b76b71ccf18ccbdd61153b7b170e', '043902a96e0b554bf8de62c2a4ed573c', 4078, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (62, 'ticker_c3bc24a56ad9b4b3a7b539b4cf471b26', 'module', 0, 'simb_16.png', 'ticker_c3bc24a56ad9b4b3a7b539b4cf471b26', '4cbbaec2956c47f3e4ee51750c179c40', 4610, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (63, 'ticker_d88dde89e0ba8b6c19e1bae31c8cebfe', 'module', 0, 'simb_27.jpe', 'ticker_d88dde89e0ba8b6c19e1bae31c8cebfe', '2175a824eaa2c4bf0b3ce9f96304c618', 1769, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (64, 'ticker_9964dfde562f0d48b1acc41fb980072d', 'module', 0, 'simb_14.png', 'ticker_9964dfde562f0d48b1acc41fb980072d', '9d236109ee12545788504cb98d7b0146', 5170, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (65, 'ticker_6e12681406bf8af6771071cfd9daf616', 'module', 0, 'simb_88.png', NULL, NULL, NULL, 0, 0, 0, NULL, 0, 0, NULL, 1, NULL, '2019-07-10 14:01:54', NULL), (66, 'ticker_76dbd75b7cf86dfbb0c578fd48ebc06d', 'module', 0, 'simb_39.png', 'ticker_76dbd75b7cf86dfbb0c578fd48ebc06d', 'cab4ff8c387409a7ab80b7620884f7c5', 2702, 0, 0, 0, NULL, 0, 1, 1562796114, 1, NULL, '2019-07-10 14:01:54', NULL), (67, 'ticker_3837186cddc3e492215145a77e7c920a', 'module', 0, 'cigarro-1532618184105_v2_1920x1080.jpg', 'ticker_3837186cddc3e492215145a77e7c920a', '21f14c4d40160320cf4c296443db1503', 112618, 0, 0, 0, NULL, 0, 1, 1562783805, 1, NULL, '2019-07-10 14:06:45', NULL), (68, 'ticker_e15a0efb32e2539fed7a57af439dd0ca', 'module', 0, 'logo1.png', 'ticker_e15a0efb32e2539fed7a57af439dd0ca', '3a2981848a5a8bd3afa8a9b3d99f179a', 29476, 0, 0, 0, 0, 0, 1, 1562783805, 1, NULL, '2019-07-10 14:06:45', '2019-07-10 14:06:45'), (69, 'ticker_d82765cafa6602b30a1031ea285537eb', 'module', 0, 'cerveja-vinho-vinho-tinto-vinho-rose-1363203406110_1920x1080.jpg', 'ticker_d82765cafa6602b30a1031ea285537eb', '62fc32870999602140a829f8d26d0796', 414484, 0, 0, 0, NULL, 0, 1, 1562783805, 1, NULL, '2019-07-10 14:06:45', NULL), (70, 'ticker_7667d9bc31a90a6db6b835aac1700db9', 'module', 0, 'o-mosquito-palha-transmissor-da-leishmaniose-1515024409640_v2_1920x1080.jpg', 'ticker_7667d9bc31a90a6db6b835aac1700db9', 'b8c8194a8f0ae218bcf28cb853b47682', 171928, 0, 0, 0, NULL, 0, 1, 1562783805, 1, NULL, '2019-07-10 14:06:45', NULL); -- -------------------------------------------------------- -- -- Estrutura da tabela `module` -- CREATE TABLE `module` ( `ModuleID` int(11) NOT NULL, `Module` varchar(50) NOT NULL, `Name` varchar(50) NOT NULL, `Enabled` tinyint(4) NOT NULL DEFAULT 0, `RegionSpecific` tinyint(4) NOT NULL DEFAULT 1, `Description` varchar(254) DEFAULT NULL, `ImageUri` varchar(254) NOT NULL, `SchemaVersion` int(11) NOT NULL DEFAULT 1, `ValidExtensions` varchar(254) DEFAULT NULL, `PreviewEnabled` tinyint(4) NOT NULL DEFAULT 1, `assignable` tinyint(4) NOT NULL DEFAULT 1, `render_as` varchar(10) DEFAULT NULL, `settings` text DEFAULT NULL, `viewPath` varchar(254) NOT NULL DEFAULT '../modules', `class` varchar(254) NOT NULL, `defaultDuration` int(11) NOT NULL, `installName` varchar(254) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Functional Modules'; -- -- Extraindo dados da tabela `module` -- INSERT INTO `module` (`ModuleID`, `Module`, `Name`, `Enabled`, `RegionSpecific`, `Description`, `ImageUri`, `SchemaVersion`, `ValidExtensions`, `PreviewEnabled`, `assignable`, `render_as`, `settings`, `viewPath`, `class`, `defaultDuration`, `installName`) VALUES (1, 'Image', 'Image', 1, 0, 'Images. PNG, JPG, BMP, GIF', 'forms/image.gif', 1, 'jpg,jpeg,png,bmp,gif', 1, 1, NULL, NULL, '../modules', 'Xibo\\Widget\\Image', 10, NULL), (2, 'Video', 'Video', 1, 0, 'Videos - support varies depending on the client hardware you are using.', 'forms/video.gif', 1, 'wmv,avi,mpg,mpeg,webm,mp4', 0, 1, NULL, NULL, '../modules', 'Xibo\\Widget\\Video', 0, NULL), (3, 'Flash', 'Flash', 1, 0, 'Flash', 'forms/flash.gif', 1, 'swf', 1, 1, NULL, NULL, '../modules', 'Xibo\\Widget\\Flash', 10, NULL), (4, 'PowerPoint', 'PowerPoint', 1, 0, 'Powerpoint. PPT, PPS', 'forms/powerpoint.gif', 1, 'ppt,pps,pptx', 1, 1, NULL, NULL, '../modules', 'Xibo\\Widget\\PowerPoint', 10, NULL), (5, 'Webpage', 'Webpage', 1, 1, 'Webpages.', 'forms/webpage.gif', 1, NULL, 1, 1, NULL, NULL, '../modules', 'Xibo\\Widget\\WebPage', 60, NULL), (6, 'Ticker', 'Ticker', 1, 1, 'RSS Ticker.', 'forms/ticker.gif', 1, NULL, 1, 1, NULL, '[]', '../modules', 'Xibo\\Widget\\Ticker', 5, NULL), (7, 'Text', 'Text', 1, 1, 'Text. With Directional Controls.', 'forms/text.gif', 1, NULL, 1, 1, NULL, NULL, '../modules', 'Xibo\\Widget\\Text', 5, NULL), (8, 'Embedded', 'Embedded', 1, 1, 'Embedded HTML', 'forms/webpage.gif', 1, NULL, 1, 1, NULL, NULL, '../modules', 'Xibo\\Widget\\Embedded', 60, NULL), (11, 'datasetview', 'Data Set', 1, 1, 'A view on a DataSet', 'forms/datasetview.gif', 1, NULL, 1, 1, NULL, NULL, '../modules', 'Xibo\\Widget\\DataSetView', 60, NULL), (12, 'shellcommand', 'Shell Command', 1, 1, 'Execute a shell command on the client', 'forms/shellcommand.gif', 1, NULL, 1, 1, NULL, NULL, '../modules', 'Xibo\\Widget\\ShellCommand', 3, NULL), (13, 'localvideo', 'Local Video', 1, 1, 'Play a video locally stored on the client', 'forms/video.gif', 1, NULL, 0, 1, NULL, NULL, '../modules', 'Xibo\\Widget\\LocalVideo', 60, NULL), (14, 'genericfile', 'Generic File', 1, 0, 'A generic file to be stored in the library', 'forms/library.gif', 1, 'apk,ipk,js,html,htm', 0, 0, NULL, NULL, '../modules', 'Xibo\\Widget\\GenericFile', 10, NULL), (15, 'clock', 'Clock', 1, 1, '', 'forms/library.gif', 1, NULL, 1, 1, 'html', '[]', '../modules', 'Xibo\\Widget\\Clock', 5, NULL), (16, 'font', 'Font', 1, 0, 'A font to use in other Modules', 'forms/library.gif', 1, 'ttf,otf,eot,svg,woff', 0, 0, NULL, NULL, '../modules', 'Xibo\\Widget\\Font', 10, NULL), (17, 'audio', 'Audio', 1, 0, 'Audio - support varies depending on the client hardware', 'forms/video.gif', 1, 'mp3,wav', 0, 1, NULL, NULL, '../modules', 'Xibo\\Widget\\Audio', 0, NULL), (18, 'pdf', 'PDF', 1, 0, 'PDF document viewer', 'forms/pdf.gif', 1, 'pdf', 1, 1, 'html', NULL, '../modules', 'Xibo\\Widget\\Pdf', 60, NULL), (19, 'notificationview', 'Notification', 1, 1, 'Display Notifications from the Notification Centre', 'forms/library.gif', 1, NULL, 1, 1, 'html', NULL, '../modules', 'Xibo\\Widget\\NotificationView', 10, NULL), (32, 'googletraffic', 'Google Traffic', 1, 1, 'Google Traffic Map', 'forms/library.gif', 1, NULL, 1, 1, 'html', '[]', '../modules', 'Xibo\\Widget\\GoogleTraffic', 60, NULL), (33, 'forecastio', 'Weather', 1, 1, 'Weather Powered by DarkSky', 'forms/library.gif', 1, NULL, 1, 1, 'html', '{\"apiKey\":\"aee7adc0354c486c14c07d4c09117939\",\"cachePeriod\":600}', '../modules', 'Xibo\\Widget\\ForecastIo', 60, NULL); -- -------------------------------------------------------- -- -- Estrutura da tabela `notification` -- CREATE TABLE `notification` ( `notificationId` int(11) NOT NULL, `subject` varchar(255) NOT NULL, `body` longtext NOT NULL, `createDt` int(11) NOT NULL, `releaseDt` int(11) NOT NULL, `isEmail` tinyint(4) NOT NULL, `isInterrupt` tinyint(4) NOT NULL, `isSystem` tinyint(4) NOT NULL, `userId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_access_tokens` -- CREATE TABLE `oauth_access_tokens` ( `access_token` varchar(254) NOT NULL, `session_id` int(10) UNSIGNED NOT NULL, `expire_time` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_access_token_scopes` -- CREATE TABLE `oauth_access_token_scopes` ( `id` int(10) UNSIGNED NOT NULL, `access_token` varchar(254) NOT NULL, `scope` varchar(254) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_auth_codes` -- CREATE TABLE `oauth_auth_codes` ( `auth_code` varchar(254) NOT NULL, `session_id` int(10) UNSIGNED NOT NULL, `expire_time` int(11) NOT NULL, `client_redirect_uri` varchar(500) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_auth_code_scopes` -- CREATE TABLE `oauth_auth_code_scopes` ( `id` int(11) UNSIGNED NOT NULL, `auth_code` varchar(254) NOT NULL, `scope` varchar(254) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_clients` -- CREATE TABLE `oauth_clients` ( `id` varchar(254) NOT NULL, `secret` varchar(254) NOT NULL, `name` varchar(254) NOT NULL, `userId` int(11) NOT NULL, `authCode` tinyint(4) NOT NULL, `clientCredentials` tinyint(4) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_client_redirect_uris` -- CREATE TABLE `oauth_client_redirect_uris` ( `id` int(11) NOT NULL, `client_id` varchar(254) NOT NULL, `redirect_uri` varchar(500) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_client_scopes` -- CREATE TABLE `oauth_client_scopes` ( `clientId` varchar(254) NOT NULL, `scopeId` varchar(254) NOT NULL, `id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_refresh_tokens` -- CREATE TABLE `oauth_refresh_tokens` ( `refresh_token` varchar(254) NOT NULL, `expire_time` int(11) NOT NULL, `access_token` varchar(254) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_scopes` -- CREATE TABLE `oauth_scopes` ( `id` varchar(254) NOT NULL, `description` varchar(1000) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `oauth_scopes` -- INSERT INTO `oauth_scopes` (`id`, `description`) VALUES ('all', 'All access'), ('mcaas', 'Media Conversion as a Service'); -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_scope_routes` -- CREATE TABLE `oauth_scope_routes` ( `scopeId` varchar(254) NOT NULL, `route` varchar(1000) NOT NULL, `method` varchar(8) NOT NULL, `id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_sessions` -- CREATE TABLE `oauth_sessions` ( `id` int(11) UNSIGNED NOT NULL, `owner_type` varchar(254) NOT NULL, `owner_id` varchar(254) NOT NULL, `client_id` varchar(254) NOT NULL, `client_redirect_uri` varchar(500) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `oauth_session_scopes` -- CREATE TABLE `oauth_session_scopes` ( `id` int(10) UNSIGNED NOT NULL, `session_id` int(10) UNSIGNED NOT NULL, `scope` varchar(254) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `pages` -- CREATE TABLE `pages` ( `pageID` int(11) NOT NULL, `name` varchar(50) NOT NULL, `title` varchar(50) NOT NULL, `asHome` tinyint(4) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Available Pages'; -- -- Extraindo dados da tabela `pages` -- INSERT INTO `pages` (`pageID`, `name`, `title`, `asHome`) VALUES (1, 'dashboard', 'Dashboard', 1), (2, 'schedule', 'Schedule', 1), (3, 'mediamanager', 'Media Dashboard', 1), (4, 'layout', 'Layout', 1), (5, 'library', 'Library', 1), (6, 'display', 'Displays', 1), (7, 'update', 'Update', 0), (8, 'admin', 'Administration', 0), (9, 'group', 'User Groups', 1), (10, 'log', 'Log', 1), (11, 'user', 'Users', 1), (12, 'license', 'Licence', 1), (13, 'index', 'Home', 0), (14, 'module', 'Modules', 1), (15, 'template', 'Templates', 1), (16, 'fault', 'Report Fault', 1), (17, 'stats', 'Statistics', 1), (18, 'manual', 'Manual', 0), (19, 'resolution', 'Resolutions', 1), (20, 'help', 'Help Links', 1), (21, 'clock', 'Clock', 0), (22, 'displaygroup', 'Display Groups', 1), (23, 'application', 'Applications', 1), (24, 'dataset', 'DataSets', 1), (25, 'campaign', 'Campaigns', 1), (26, 'transition', 'Transitions', 1), (27, 'sessions', 'Sessions', 1), (28, 'preview', 'Preview', 0), (29, 'statusdashboard', 'Status Dashboard', 1), (30, 'displayprofile', 'Display Profiles', 1), (31, 'audit', 'Audit Trail', 0), (32, 'region', 'Regions', 0), (33, 'playlist', 'Playlist', 0), (34, 'maintenance', 'Maintenance', 0), (35, 'command', 'Commands', 1), (36, 'notification', 'Notifications', 0), (37, 'drawer', 'Notification Drawer', 0), (38, 'daypart', 'Dayparting', 0), (39, 'task', 'Tasks', 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `permission` -- CREATE TABLE `permission` ( `permissionId` int(11) NOT NULL, `entityId` int(11) NOT NULL, `groupId` int(11) NOT NULL, `objectId` int(11) NOT NULL, `view` tinyint(4) NOT NULL, `edit` tinyint(4) NOT NULL, `delete` tinyint(4) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `permission` -- INSERT INTO `permission` (`permissionId`, `entityId`, `groupId`, `objectId`, `view`, `edit`, `delete`) VALUES (1, 1, 1, 1, 1, 0, 0), (2, 1, 1, 13, 1, 0, 0), (3, 1, 1, 4, 1, 0, 0), (4, 1, 1, 5, 1, 0, 0), (5, 1, 1, 3, 1, 0, 0), (6, 1, 1, 33, 1, 0, 0), (7, 1, 1, 28, 1, 0, 0), (8, 1, 1, 32, 1, 0, 0), (9, 1, 1, 2, 1, 0, 0), (10, 1, 1, 29, 1, 0, 0), (11, 1, 1, 11, 1, 0, 0), (12, 11, 2, 1, 1, 0, 0), (13, 11, 2, 2, 1, 0, 0), (15, 4, 2, 8, 1, 0, 0), (16, 4, 2, 9, 1, 0, 0), (17, 4, 2, 10, 1, 0, 0), (18, 4, 2, 11, 1, 0, 0), (19, 4, 2, 12, 1, 0, 0); -- -------------------------------------------------------- -- -- Estrutura da tabela `permissionentity` -- CREATE TABLE `permissionentity` ( `entityId` int(11) NOT NULL, `entity` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `permissionentity` -- INSERT INTO `permissionentity` (`entityId`, `entity`) VALUES (5, 'Xibo\\Entity\\Campaign'), (9, 'Xibo\\Entity\\DataSet'), (11, 'Xibo\\Entity\\DayPart'), (3, 'Xibo\\Entity\\DisplayGroup'), (4, 'Xibo\\Entity\\Media'), (10, 'Xibo\\Entity\\Notification'), (1, 'Xibo\\Entity\\Page'), (8, 'Xibo\\Entity\\Playlist'), (7, 'Xibo\\Entity\\Region'), (6, 'Xibo\\Entity\\Widget'); -- -------------------------------------------------------- -- -- Estrutura da tabela `playlist` -- CREATE TABLE `playlist` ( `playlistId` int(11) NOT NULL, `name` varchar(254) DEFAULT NULL, `ownerId` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `playlist` -- INSERT INTO `playlist` (`playlistId`, `name`, `ownerId`) VALUES (1, '', 1), (2, '', 1), (3, 'test3-1', 1), (9, '', 1), (10, '', 1), (11, '', 1), (13, 'TABELA AÇOUGUE BOVINOS-4', 1), (14, '', 1), (15, '', 1), (16, '', 1), (17, '', 1), (18, '', 1), (19, '', 1), (20, '', 1), (21, '', 1), (22, '', 1), (23, '', 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `region` -- CREATE TABLE `region` ( `regionId` int(11) NOT NULL, `layoutId` int(11) NOT NULL, `ownerId` int(11) NOT NULL, `name` varchar(254) DEFAULT NULL, `width` decimal(12,4) NOT NULL, `height` decimal(12,4) NOT NULL, `top` decimal(12,4) NOT NULL, `left` decimal(12,4) NOT NULL, `zIndex` smallint(6) NOT NULL, `duration` int(11) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `region` -- INSERT INTO `region` (`regionId`, `layoutId`, `ownerId`, `name`, `width`, `height`, `top`, `left`, `zIndex`, `duration`) VALUES (1, 1, 1, '1', '1920.0000', '936.0000', '0.0000', '0.0000', 0, 15), (2, 1, 1, '2', '432.0000', '129.2308', '940.7885', '1470.4904', 0, 10), (3, 2, 1, 'test3-1', '1920.0000', '1080.0000', '0.0000', '0.0000', 0, 52), (9, 4, 1, 'TABELA AÇOUGUE-1', '955.2000', '907.2000', '167.7750', '4.6875', 3, 5), (10, 4, 1, 'TABELA AÇOUGUE-2', '940.8000', '897.6000', '167.9625', '963.9750', 3, 5), (11, 4, 1, 'TABELA AÇOUGUE-3', '1118.4000', '127.2000', '0.0000', '328.2375', 4, 5), (13, 4, 1, 'TABELA AÇOUGUE BOVINOS-4', '364.8000', '160.8000', '0.0000', '1555.2000', 0, 10), (14, 5, 1, '1', '1280.0000', '720.0000', '0.0000', '0.0000', 0, 5), (15, 6, 1, '1', '1280.0000', '720.0000', '0.0000', '0.0000', 0, 5), (16, 7, 1, 'HORA CERTA-1', '1280.0000', '720.0000', '0.0000', '0.0000', 0, 60), (17, 8, 1, 'Youtube - Embedded-1', '1920.0000', '1080.0000', '0.0000', '0.0000', 0, 60), (18, 9, 1, 'PREVISÃO DO TEMPO-1', '1920.0000', '1080.0000', '0.0000', '0.0000', 0, 60), (19, 10, 1, '1', '1920.0000', '1080.0000', '0.0000', '0.0000', 0, 5), (20, 11, 1, '1', '1920.0000', '1080.0000', '0.0000', '0.0000', 0, 0), (21, 12, 1, '1', '1920.0000', '1080.0000', '0.0000', '0.0000', 0, 0), (22, 13, 1, '1', '1920.0000', '1080.0000', '0.0000', '0.0000', 0, 0), (23, 14, 1, '1', '1920.0000', '1080.0000', '0.0000', '0.0000', 0, 0); -- -------------------------------------------------------- -- -- Estrutura da tabela `regionoption` -- CREATE TABLE `regionoption` ( `regionId` int(11) NOT NULL, `option` varchar(50) NOT NULL, `value` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `requiredfile` -- CREATE TABLE `requiredfile` ( `rfId` bigint(20) NOT NULL, `displayId` int(11) NOT NULL, `type` varchar(1) NOT NULL, `itemId` int(11) DEFAULT NULL, `bytesRequested` bigint(20) NOT NULL, `complete` tinyint(1) NOT NULL DEFAULT 0, `path` varchar(255) DEFAULT NULL, `size` bigint(20) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `resolution` -- CREATE TABLE `resolution` ( `resolutionID` int(11) NOT NULL, `resolution` varchar(254) NOT NULL, `width` smallint(6) NOT NULL, `height` smallint(6) NOT NULL, `intended_width` smallint(6) NOT NULL, `intended_height` smallint(6) NOT NULL, `version` tinyint(4) NOT NULL DEFAULT 1, `enabled` tinyint(4) NOT NULL DEFAULT 1, `userId` tinyint(4) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Supported Resolutions'; -- -- Extraindo dados da tabela `resolution` -- INSERT INTO `resolution` (`resolutionID`, `resolution`, `width`, `height`, `intended_width`, `intended_height`, `version`, `enabled`, `userId`) VALUES (9, '1080p HD Landscape', 800, 450, 1920, 1080, 2, 1, 0), (10, '720p HD Landscape', 800, 450, 1280, 720, 2, 1, 0), (11, '1080p HD Portrait', 450, 800, 1080, 1920, 2, 1, 0), (12, '720p HD Portrait', 450, 800, 720, 1280, 2, 1, 0), (13, '4k cinema', 800, 450, 4096, 2304, 2, 1, 0), (14, 'Common PC Monitor 4:3', 800, 600, 1024, 768, 2, 1, 0), (15, '4k UHD Landscape', 450, 800, 3840, 2160, 2, 1, 0), (16, '4k UHD Portrait', 800, 450, 2160, 3840, 2, 1, 0); -- -------------------------------------------------------- -- -- Estrutura da tabela `schedule` -- CREATE TABLE `schedule` ( `eventID` int(11) NOT NULL, `eventTypeId` tinyint(4) NOT NULL, `CampaignID` int(11) DEFAULT NULL, `commandId` int(11) DEFAULT NULL, `recurrence_type` enum('Minute','Hour','Day','Week','Month','Year') DEFAULT NULL, `recurrence_detail` varchar(100) DEFAULT NULL, `userID` int(11) NOT NULL, `is_priority` tinyint(4) NOT NULL, `FromDT` bigint(20) DEFAULT NULL, `ToDT` bigint(20) DEFAULT NULL, `recurrence_range` bigint(20) DEFAULT NULL, `DisplayOrder` int(11) NOT NULL DEFAULT 0, `dayPartId` int(11) NOT NULL DEFAULT 0, `recurrenceRepeatsOn` varchar(14) DEFAULT NULL, `lastRecurrenceWatermark` bigint(20) DEFAULT NULL, `syncTimezone` tinyint(4) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='High level schedule information'; -- -------------------------------------------------------- -- -- Estrutura da tabela `session` -- CREATE TABLE `session` ( `session_id` varchar(160) NOT NULL, `session_data` longtext NOT NULL, `session_expiration` int(10) UNSIGNED NOT NULL DEFAULT 0, `LastAccessed` datetime DEFAULT NULL, `userID` int(11) DEFAULT NULL, `IsExpired` tinyint(4) NOT NULL DEFAULT 1, `UserAgent` varchar(254) DEFAULT NULL, `RemoteAddr` varchar(50) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `session` -- INSERT INTO `session` (`session_id`, `session_data`, `session_expiration`, `LastAccessed`, `userID`, `IsExpired`, `UserAgent`, `RemoteAddr`) VALUES ('2ssldag3o4n64qijoajefhpcu6', 'init|s:1:\"1\";csrfToken|s:40:\"51b44d29d294928d1f9aba407157e8e5e9637e90\";slim.flash|a:0:{}', 1562778830, '2019-07-10 13:49:50', 0, 0, 'WhatsApp/0.3.3793 N', '187.183.232.69'), ('55q6b1ku93f6esq2k4e3t2ctr7', 'init|s:1:\"1\";csrfToken|s:40:\"6326a179f9330a44b541bde96b2831db3acbe791\";slim.flash|a:1:{s:10:\"priorRoute\";s:9:\"/cms/web/\";}', 1562778830, '2019-07-10 13:49:50', 0, 0, 'WhatsApp/0.3.3793 N', '187.183.232.69'), ('e98lodltj0rrgu0ofpthqald75', 'init|s:1:\"1\";csrfToken|s:40:\"b6b4b99b8d364474d7d61e347eca01335626c47e\";slim.flash|a:0:{}timeLineView|s:0:\"\";userid|i:1;', 1562783260, '2019-07-10 15:04:40', 1, 0, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36', '187.183.232.69'); -- -------------------------------------------------------- -- -- Estrutura da tabela `setting` -- CREATE TABLE `setting` ( `settingid` int(11) NOT NULL, `setting` varchar(50) NOT NULL, `value` varchar(1000) NOT NULL, `fieldType` varchar(24) NOT NULL, `helptext` text DEFAULT NULL, `options` varchar(254) DEFAULT NULL, `cat` varchar(24) NOT NULL DEFAULT 'general', `userChange` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Can the user change this setting', `title` varchar(254) NOT NULL, `validation` varchar(50) NOT NULL, `ordering` int(11) NOT NULL, `default` varchar(1000) NOT NULL, `userSee` tinyint(4) NOT NULL DEFAULT 1, `type` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `setting` -- INSERT INTO `setting` (`settingid`, `setting`, `value`, `fieldType`, `helptext`, `options`, `cat`, `userChange`, `title`, `validation`, `ordering`, `default`, `userSee`, `type`) VALUES (1, 'MEDIA_DEFAULT', 'private', 'dropdown', 'Media will be created with these settings. If public everyone will be able to view and use this media.', 'private|group|group write|public|public write', 'permissions', 1, 'Media Permissions', '', 20, 'private', 1, 'word'), (2, 'LAYOUT_DEFAULT', 'private', 'dropdown', 'New layouts will be created with these settings. If public everyone will be able to view and use this layout.', 'private|group|group write|public|public write', 'permissions', 1, 'Layout Permissions', '', 10, 'private', 1, 'word'), (3, 'defaultUsertype', 'User', 'dropdown', 'Sets the default user type selected when creating a user.\r\n<br />\r\nWe recommend that this is set to \"User\"', 'User|Group Admin|Super Admin', 'users', 1, 'Default User Type', '', 10, 'User', 1, 'string'), (7, 'userModule', 'module_user_general.php', 'dirselect', 'This sets which user authentication module is currently being used.', NULL, 'users', 0, 'User Module', '', 0, 'module_user_general.php', 0, 'string'), (11, 'defaultTimezone', 'America/Sao_Paulo', 'timezone', 'Set the default timezone for the application', 'Europe/London', 'regional', 1, 'Timezone', '', 20, 'Europe/London', 1, 'string'), (18, 'mail_to', 'mail@yoursite.com', 'email', 'Errors will be mailed here', NULL, 'maintenance', 1, 'Admin email address', '', 30, 'mail@yoursite.com', 1, 'string'), (19, 'mail_from', 'mail@yoursite.com', 'email', 'Mail will be sent from this address', NULL, 'maintenance', 1, 'Sending email address', '', 40, 'mail@yoursite.com', 1, 'string'), (30, 'audit', 'Error', 'dropdown', 'Set the level of logging the CMS should record. In production systems \"error\" is recommended.', 'Emergency|Alert|Critical|Error|Warning|Notice|Info|Debug', 'troubleshooting', 1, 'Log Level', '', 20, 'error', 1, 'word'), (33, 'LIBRARY_LOCATION', 'media/', 'text', 'The fully qualified path to the CMS library location.', NULL, 'configuration', 1, 'Library Location', 'required', 10, '', 1, 'string'), (34, 'SERVER_KEY', '9lA13M', 'text', NULL, NULL, 'configuration', 1, 'CMS Secret Key', 'required', 20, '', 1, 'string'), (35, 'HELP_BASE', 'http://www.xibo.org.uk/manual/en/', 'text', NULL, NULL, 'general', 1, 'Location of the Manual', 'required', 10, 'http://www.xibo.org.uk/manual/', 1, 'string'), (36, 'PHONE_HOME', 'On', 'dropdown', 'Should the server send anonymous statistics back to the Xibo project?', 'On|Off', 'general', 1, 'Allow usage tracking?', '', 10, 'On', 1, 'word'), (37, 'PHONE_HOME_KEY', 'a61acf7993b370f65e979b2ca94c93e0', 'text', 'Key used to distinguish each Xibo instance. This is generated randomly based on the time you first installed Xibo, and is completely untraceable.', NULL, 'general', 0, 'Phone home key', '', 20, '', 0, 'string'), (38, 'PHONE_HOME_URL', 'http://www.xibo.org.uk/stats/track.php', 'text', 'The URL to connect to to PHONE_HOME (if enabled)', NULL, 'network', 0, 'Phone home URL', '', 60, 'http://www.xibo.org.uk/stats/track.php', 0, 'string'), (39, 'PHONE_HOME_DATE', '0', 'text', 'The last time we PHONED_HOME in seconds since the epoch', NULL, 'general', 0, 'Phone home time', '', 30, '0', 0, 'int'), (40, 'SERVER_MODE', 'Production', 'dropdown', 'This should only be set if you want to display the maximum allowed error messaging through the user interface. <br /> Useful for capturing critical php errors and environment issues.', 'Production|Test', 'troubleshooting', 1, 'Server Mode', '', 30, 'Production', 1, 'word'), (41, 'MAINTENANCE_ENABLED', 'Off', 'dropdown', 'Allow the maintenance script to run if it is called?', 'Protected|On|Off', 'maintenance', 1, 'Enable Maintenance?', '', 10, 'Off', 1, 'word'), (42, 'MAINTENANCE_EMAIL_ALERTS', 'On', 'dropdown', 'Global switch for email alerts to be sent', 'On|Off', 'maintenance', 1, 'Enable Email Alerts?', '', 20, 'On', 1, 'word'), (43, 'MAINTENANCE_KEY', 'changeme', 'text', 'String appended to the maintenance script to prevent malicious calls to the script.', NULL, 'maintenance', 1, 'Maintenance Key', '', 50, 'changeme', 1, 'string'), (44, 'MAINTENANCE_LOG_MAXAGE', '30', 'number', 'Maximum age for log entries in days. Set to 0 to keep logs indefinitely.', NULL, 'maintenance', 1, 'Max Log Age', '', 60, '30', 1, 'int'), (45, 'MAINTENANCE_STAT_MAXAGE', '30', 'number', 'Maximum age for statistics entries in days. Set to 0 to keep statistics indefinitely.', NULL, 'maintenance', 1, 'Max Statistics Age', '', 70, '30', 1, 'int'), (46, 'MAINTENANCE_ALERT_TOUT', '12', 'number', 'How long in minutes after the last time a client connects should we send an alert? Can be overridden on a per client basis.', NULL, 'maintenance', 1, 'Max Display Timeout', '', 80, '12', 1, 'int'), (47, 'SHOW_DISPLAY_AS_VNCLINK', '', 'text', 'Turn the display name in display management into a VNC link using the IP address last collected. The %s is replaced with the IP address. Leave blank to disable.', NULL, 'displays', 1, 'Display a VNC Link?', '', 30, '', 1, 'string'), (48, 'SHOW_DISPLAY_AS_VNC_TGT', '_top', 'text', 'If the display name is shown as a link in display management, what target should the link have? Set _top to open the link in the same window or _blank to open in a new window.', NULL, 'displays', 1, 'Open VNC Link in new window?', '', 40, '_top', 1, 'string'), (49, 'MAINTENANCE_ALWAYS_ALERT', 'Off', 'dropdown', 'Should Xibo send an email if a display is in an error state every time the maintenance script runs?', 'On|Off', 'maintenance', 1, 'Send repeat Display Timeouts', '', 80, 'Off', 1, 'word'), (50, 'SCHEDULE_LOOKAHEAD', 'On', 'dropdown', 'Should Xibo send future schedule information to clients?', 'On|Off', 'general', 0, 'Send Schedule in advance?', '', 40, 'On', 1, 'word'), (51, 'REQUIRED_FILES_LOOKAHEAD', '172800', 'number', 'How many seconds in to the future should the calls to RequiredFiles look?', NULL, 'general', 1, 'Send files in advance?', '', 50, '172800', 1, 'int'), (52, 'REGION_OPTIONS_COLOURING', 'Media Colouring', 'dropdown', NULL, 'Media Colouring|Permissions Colouring', 'permissions', 1, 'How to colour Media on the Region Timeline', '', 30, 'Media Colouring', 1, 'string'), (53, 'LAYOUT_COPY_MEDIA_CHECKB', 'Unchecked', 'dropdown', 'Default the checkbox for making duplicates of media when copying layouts', 'Checked|Unchecked', 'defaults', 1, 'Default copy media when copying a layout?', '', 20, 'Unchecked', 1, 'word'), (54, 'MAX_LICENSED_DISPLAYS', '0', 'number', 'The maximum number of licensed clients for this server installation. 0 = unlimited', NULL, 'displays', 0, 'Number of display slots', '', 50, '0', 0, 'int'), (55, 'LIBRARY_MEDIA_UPDATEINALL_CHECKB', 'Checked', 'dropdown', 'Default the checkbox for updating media on all layouts when editing in the library', 'Checked|Unchecked', 'defaults', 1, 'Default update media in all layouts', '', 10, 'Unchecked', 1, 'word'), (56, 'USER_PASSWORD_POLICY', '', 'text', 'Regular Expression for password complexity, leave blank for no policy.', '', 'users', 1, 'Password Policy Regular Expression', '', 20, '', 1, 'string'), (57, 'USER_PASSWORD_ERROR', '', 'text', 'A text description of this password policy. Will be show to users when their password does not meet the required policy', '', 'users', 1, 'Description of Password Policy', '', 30, '', 1, 'string'), (58, 'MODULE_CONFIG_LOCKED_CHECKB', 'Unchecked', 'dropdown', 'Is the module config locked? Useful for Service providers.', 'Checked|Unchecked', 'defaults', 0, 'Lock Module Config', '', 30, 'Unchecked', 0, 'word'), (59, 'LIBRARY_SIZE_LIMIT_KB', '0', 'number', 'The Limit for the Library Size in KB', NULL, 'network', 0, 'Library Size Limit', '', 50, '0', 1, 'int'), (60, 'MONTHLY_XMDS_TRANSFER_LIMIT_KB', '0', 'number', 'XMDS Transfer Limit in KB/month', NULL, 'network', 0, 'Monthly bandwidth Limit', '', 40, '0', 1, 'int'), (61, 'DEFAULT_LANGUAGE', 'pt_BR', 'text', 'The default language to use', NULL, 'regional', 1, 'Default Language', '', 10, 'en_GB', 1, 'string'), (62, 'TRANSITION_CONFIG_LOCKED_CHECKB', 'Unchecked', 'dropdown', 'Is the Transition config locked?', 'Checked|Unchecked', 'defaults', 0, 'Allow modifications to the transition configuration?', '', 40, 'Unchecked', 1, 'word'), (63, 'GLOBAL_THEME_NAME', 'default', 'text', 'The Theme to apply to all pages by default', NULL, 'configuration', 1, 'CMS Theme', '', 30, 'default', 1, 'word'), (64, 'DEFAULT_LAT', '51.504', 'number', 'The Latitude to apply for any Geo aware Previews', NULL, 'displays', 1, 'Default Latitude', '', 10, '51.504', 1, 'double'), (65, 'DEFAULT_LONG', '-0.104', 'number', 'The Longitude to apply for any Geo aware Previews', NULL, 'displays', 1, 'Default Longitude', '', 20, '-0.104', 1, 'double'), (66, 'SCHEDULE_WITH_VIEW_PERMISSION', 'No', 'dropdown', 'Should users with View permissions on displays be allowed to schedule to them?', 'Yes|No', 'permissions', 1, 'Schedule with view permissions?', '', 40, 'No', 1, 'word'), (67, 'SETTING_IMPORT_ENABLED', '1', 'checkbox', NULL, NULL, 'general', 1, 'Allow Import?', '', 80, '1', 1, 'checkbox'), (68, 'SETTING_LIBRARY_TIDY_ENABLED', '1', 'checkbox', NULL, NULL, 'general', 1, 'Enable Library Tidy?', '', 90, '1', 1, 'checkbox'), (69, 'SENDFILE_MODE', 'Off', 'dropdown', 'When a user downloads a file from the library or previews a layout, should we attempt to use Apache X-Sendfile, Nginx X-Accel, or PHP (Off) to return the file from the library?', 'Off|Apache|Nginx', 'general', 1, 'File download mode', '', 60, 'Off', 1, 'word'), (70, 'EMBEDDED_STATUS_WIDGET', '', 'text', 'HTML to embed in an iframe on the Status Dashboard', NULL, 'general', 0, 'Status Dashboard Widget', '', 70, '', 1, 'htmlstring'), (71, 'PROXY_HOST', '', 'text', 'The Proxy URL', NULL, 'network', 1, 'Proxy URL', '', 10, '', 1, 'string'), (72, 'PROXY_PORT', '0', 'number', 'The Proxy Port', NULL, 'network', 1, 'Proxy Port', '', 20, '0', 1, 'int'), (73, 'PROXY_AUTH', '', 'text', 'The Authentication information for this proxy. username:password', NULL, 'network', 1, 'Proxy Credentials', '', 30, '', 1, 'string'), (74, 'DATE_FORMAT', 'd-m-Y H:i', 'text', 'The Date Format to use when displaying dates in the CMS.', NULL, 'regional', 1, 'Date Format', 'required', 30, 'Y-m-d', 1, 'string'), (75, 'DETECT_LANGUAGE', '1', 'checkbox', 'Detect the browser language?', NULL, 'regional', 1, 'Detect Language', '', 40, '1', 1, 'checkbox'), (76, 'DEFAULTS_IMPORTED', '1', 'text', 'Has the default layout been imported?', NULL, 'general', 0, 'Defaults Imported?', 'required', 100, '0', 0, 'checkbox'), (77, 'FORCE_HTTPS', '0', 'checkbox', 'Force the portal into HTTPS?', NULL, 'network', 1, 'Force HTTPS?', '', 70, '0', 1, 'checkbox'), (78, 'ISSUE_STS', '0', 'checkbox', 'Add STS to the response headers? Make sure you fully understand STS before turning it on as it will prevent access via HTTP after the first successful HTTPS connection.', NULL, 'network', 1, 'Enable STS?', '', 80, '0', 1, 'checkbox'), (79, 'STS_TTL', '600', 'text', 'The Time to Live (maxage) of the STS header expressed in seconds.', NULL, 'network', 1, 'STS Time out', '', 90, '600', 1, 'int'), (81, 'CALENDAR_TYPE', 'Gregorian', 'dropdown', 'Which Calendar Type should the CMS use?', 'Gregorian|Jalali', 'regional', 1, 'Calendar Type', '', 50, 'Gregorian', 1, 'string'), (82, 'DASHBOARD_LATEST_NEWS_ENABLED', '0', 'checkbox', 'Should the Dashboard show latest news? The address is provided by the theme.', '', 'general', 1, 'Enable Latest News?', '', 110, '1', 1, 'checkbox'), (83, 'LIBRARY_MEDIA_DELETEOLDVER_CHECKB', 'Checked', 'dropdown', 'Default the checkbox for Deleting Old Version of media when a new file is being uploaded to the library.', 'Checked|Unchecked', 'defaults', 1, 'Default for \"Delete old version of Media\" checkbox. Shown when Editing Library Media.', '', 50, 'Unchecked', 1, 'dropdown'), (84, 'PROXY_EXCEPTIONS', '', 'text', 'Hosts and Keywords that should not be loaded via the Proxy Specified. These should be comma separated.', '', 'network', 1, 'Proxy Exceptions', '', 32, '', 1, 'text'), (85, 'INSTANCE_SUSPENDED', '0', 'checkbox', 'Is this instance suspended?', NULL, 'general', 0, 'Instance Suspended', '', 120, '0', 0, 'checkbox'), (86, 'INHERIT_PARENT_PERMISSIONS', '1', 'checkbox', 'Inherit permissions from Parent when adding a new item?', NULL, 'permissions', 1, 'Inherit permissions', '', 50, '1', 1, 'checkbox'), (87, 'XMR_ADDRESS', 'tcp://localhost:5555', 'text', 'Please enter the private address for XMR.', NULL, 'displays', 1, 'XMR Private Address', '', 5, 'tcp:://localhost:5555', 1, 'string'), (88, 'XMR_PUB_ADDRESS', '', 'text', 'Please enter the public address for XMR.', NULL, 'displays', 1, 'XMR Public Address', '', 6, '', 1, 'string'), (89, 'CDN_URL', '', 'text', 'Content Delivery Network Address for serving file requests to Players', '', 'network', 0, 'CDN Address', '', 33, '', 0, 'string'), (90, 'ELEVATE_LOG_UNTIL', '', 'datetime', 'Elevate the log level until this date.', NULL, 'troubleshooting', 1, 'Elevate Log Until', ' ', 25, '', 1, 'datetime'), (91, 'RESTING_LOG_LEVEL', 'Error', 'dropdown', 'Set the level of the resting log level. The CMS will revert to this log level after an elevated period ends. In production systems \"error\" is recommended.', 'Emergency|Alert|Critical|Error', 'troubleshooting', 1, 'Resting Log Level', '', 19, 'error', 1, 'word'), (92, 'TASK_CONFIG_LOCKED_CHECKB', 'Unchecked', 'dropdown', 'Is the task config locked? Useful for Service providers.', 'Checked|Unchecked', 'defaults', 0, 'Lock Task Config', '', 30, 'Unchecked', 0, 'word'), (93, 'WHITELIST_LOAD_BALANCERS', '', 'text', 'If the CMS is behind a load balancer, what are the load balancer IP addresses, comma delimited.', '', 'network', 1, 'Whitelist Load Balancers', '', 100, '', 1, 'string'), (94, 'DEFAULT_LAYOUT', '1', 'text', 'The default layout to assign for new displays and displays which have their current default deleted.', '1', 'displays', 1, 'Default Layout', '', 4, '', 1, 'int'), (95, 'DISPLAY_PROFILE_STATS_DEFAULT', '0', 'checkbox', NULL, NULL, 'displays', 1, 'Default setting for Statistics Enabled?', '', 70, '0', 1, 'checkbox'), (96, 'DISPLAY_PROFILE_CURRENT_LAYOUT_STATUS_ENABLED', '1', 'checkbox', NULL, NULL, 'displays', 1, 'Enable the option to report the current layout status?', '', 80, '0', 1, 'checkbox'), (97, 'DISPLAY_PROFILE_SCREENSHOT_INTERVAL_ENABLED', '1', 'checkbox', NULL, NULL, 'displays', 1, 'Enable the option to set the screenshot interval?', '', 90, '0', 1, 'checkbox'), (98, 'DISPLAY_PROFILE_SCREENSHOT_SIZE_DEFAULT', '200', 'number', 'The default size in pixels for the Display Screenshots', NULL, 'displays', 1, 'Display Screenshot Default Size', '', 100, '200', 1, 'int'), (99, 'LATEST_NEWS_URL', 'http://xibo.org.uk/feed', 'text', 'RSS/Atom Feed to be displayed on the Status Dashboard', '', 'general', 0, 'Latest News URL', '', 111, '', 0, 'string'), (100, 'DISPLAY_LOCK_NAME_TO_DEVICENAME', '0', 'checkbox', NULL, NULL, 'displays', 1, 'Lock the Display Name to the device name provided by the Player?', '', 80, '0', 1, 'checkbox'), (101, 'mail_from_name', '', 'text', 'Mail will be sent under this name', NULL, 'maintenance', 1, 'Sending email name', '', 45, '', 1, 'string'); -- -------------------------------------------------------- -- -- Estrutura da tabela `stat` -- CREATE TABLE `stat` ( `statID` bigint(20) NOT NULL, `Type` varchar(20) NOT NULL, `statDate` datetime NOT NULL COMMENT 'State entry date', `scheduleID` int(8) NOT NULL, `displayID` int(4) NOT NULL, `layoutID` int(8) DEFAULT NULL, `mediaID` varchar(50) DEFAULT NULL, `start` datetime NOT NULL, `end` datetime DEFAULT NULL, `Tag` varchar(254) DEFAULT NULL, `widgetId` int(8) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura da tabela `tag` -- CREATE TABLE `tag` ( `tagId` int(11) NOT NULL, `tag` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `tag` -- INSERT INTO `tag` (`tagId`, `tag`) VALUES (1, 'template'), (2, 'background'), (3, 'thumbnail'), (4, 'default'), (5, 'imported'); -- -------------------------------------------------------- -- -- Estrutura da tabela `task` -- CREATE TABLE `task` ( `taskId` int(11) NOT NULL, `name` varchar(254) NOT NULL, `class` varchar(254) NOT NULL, `status` tinyint(4) NOT NULL DEFAULT 2, `pid` int(11) DEFAULT NULL, `options` text DEFAULT NULL, `schedule` varchar(254) DEFAULT NULL, `lastRunDt` int(11) DEFAULT NULL, `lastRunStartDt` int(11) DEFAULT NULL, `lastRunMessage` varchar(254) DEFAULT NULL, `lastRunStatus` tinyint(4) NOT NULL DEFAULT 0, `lastRunDuration` smallint(6) DEFAULT NULL, `lastRunExitCode` smallint(6) DEFAULT NULL, `isActive` tinyint(4) NOT NULL DEFAULT 1, `runNow` tinyint(4) NOT NULL DEFAULT 1, `configFile` varchar(254) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `task` -- INSERT INTO `task` (`taskId`, `name`, `class`, `status`, `pid`, `options`, `schedule`, `lastRunDt`, `lastRunStartDt`, `lastRunMessage`, `lastRunStatus`, `lastRunDuration`, `lastRunExitCode`, `isActive`, `runNow`, `configFile`) VALUES (1, 'Daily Maintenance', '\\Xibo\\XTR\\MaintenanceDailyTask', 2, NULL, '[]', '0 0 * * * *', NULL, NULL, NULL, 0, NULL, NULL, 1, 1, '/tasks/maintenance-daily.task'), (2, 'Regular Maintenance', '\\Xibo\\XTR\\MaintenanceRegularTask', 2, NULL, '[]', '*/5 * * * * *', NULL, NULL, NULL, 0, NULL, NULL, 1, 1, '/tasks/maintenance-regular.task'), (3, 'Email Notifications', '\\Xibo\\XTR\\EmailNotificationsTask', 2, NULL, '[]', '*/5 * * * * *', NULL, NULL, NULL, 0, NULL, NULL, 1, 1, '/tasks/email-notifications.task'), (4, 'Stats Archive', '\\Xibo\\XTR\\StatsArchiveTask', 2, NULL, '{\"periodSizeInDays\":\"7\",\"maxPeriods\":\"4\"}', '0 0 * * Mon', NULL, NULL, NULL, 0, NULL, NULL, 0, 1, '/tasks/stats-archiver.task'), (5, 'Remove old Notifications', '\\Xibo\\XTR\\NotificationTidyTask', 2, NULL, '{\"maxAgeDays\":\"7\",\"systemOnly\":\"1\",\"readOnly\":\"0\"}', '15 0 * * *', NULL, NULL, NULL, 0, NULL, NULL, 1, 1, '/tasks/notification-tidy.task'), (6, 'Fetch Remote DataSets', '\\Xibo\\XTR\\RemoteDataSetFetchTask', 2, NULL, '[]', '30 * * * * *', NULL, NULL, NULL, 0, NULL, NULL, 1, 1, '/tasks/remote-dataset.task'); -- -------------------------------------------------------- -- -- Estrutura da tabela `transition` -- CREATE TABLE `transition` ( `TransitionID` int(11) NOT NULL, `Transition` varchar(254) NOT NULL, `Code` varchar(50) NOT NULL, `HasDuration` tinyint(4) NOT NULL, `HasDirection` tinyint(4) NOT NULL, `AvailableAsIn` tinyint(4) NOT NULL, `AvailableAsOut` tinyint(4) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `transition` -- INSERT INTO `transition` (`TransitionID`, `Transition`, `Code`, `HasDuration`, `HasDirection`, `AvailableAsIn`, `AvailableAsOut`) VALUES (1, 'Fade In', 'fadeIn', 1, 0, 1, 1), (2, 'Fade Out', 'fadeOut', 1, 0, 1, 1), (3, 'Fly', 'fly', 1, 1, 1, 1); -- -------------------------------------------------------- -- -- Estrutura da tabela `user` -- CREATE TABLE `user` ( `UserID` int(11) NOT NULL, `usertypeid` int(8) NOT NULL, `UserName` varchar(50) NOT NULL, `UserPassword` varchar(255) NOT NULL, `lastaccessed` datetime DEFAULT NULL, `email` varchar(50) DEFAULT NULL COMMENT 'The users email address', `homePageId` int(11) NOT NULL DEFAULT 1 COMMENT 'The users homepage', `Retired` tinyint(4) NOT NULL DEFAULT 0, `CSPRNG` tinyint(4) NOT NULL DEFAULT 0, `newUserWizard` tinyint(4) NOT NULL DEFAULT 0, `firstName` varchar(254) DEFAULT NULL, `lastName` varchar(254) DEFAULT NULL, `phone` varchar(254) DEFAULT NULL, `ref1` varchar(254) DEFAULT NULL, `ref2` varchar(254) DEFAULT NULL, `ref3` varchar(254) DEFAULT NULL, `ref4` varchar(254) DEFAULT NULL, `ref5` varchar(254) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `user` -- INSERT INTO `user` (`UserID`, `usertypeid`, `UserName`, `UserPassword`, `lastaccessed`, `email`, `homePageId`, `Retired`, `CSPRNG`, `newUserWizard`, `firstName`, `lastName`, `phone`, `ref1`, `ref2`, `ref3`, `ref4`, `ref5`) VALUES (1, 1, 'mgatv', '$2y$10$bkazRnFZHGXLo5szhrcUPex.9qGwf0VlREA.YFg3/lviKwTZl7sk2', '2019-07-10 15:02:16', '', 29, 0, 2, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Estrutura da tabela `useroption` -- CREATE TABLE `useroption` ( `userId` int(11) NOT NULL, `option` varchar(50) NOT NULL, `value` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `useroption` -- INSERT INTO `useroption` (`userId`, `option`, `value`) VALUES (1, 'dataSetGrid', '{\"time\":1562778015171,\"start\":0,\"length\":10,\"order\":[[0,\"asc\"]],\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true},\"columns\":[{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}}]}'), (1, 'displayGrid', '{\"time\":1562781557211,\"start\":0,\"length\":10,\"order\":[[1,\"asc\"]],\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true},\"columns\":[{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}}]}'), (1, 'displayProfileGrid', '{\"time\":1562781740881,\"start\":0,\"length\":10,\"order\":[[1,\"asc\"]],\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true},\"columns\":[{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}}]}'), (1, 'hideControls', 'true'), (1, 'layoutGrid', '{\"time\":1562781819680,\"start\":0,\"length\":10,\"order\":[[1,\"asc\"]],\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true},\"columns\":[{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":false,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}}]}'), (1, 'lockPosition', 'true'), (1, 'moduleGrid', '{\"time\":1562778201379,\"start\":10,\"length\":10,\"order\":[[0,\"asc\"]],\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true},\"columns\":[{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}}]}'), (1, 'transitionGrid', '{\"time\":1562778148397,\"start\":0,\"length\":10,\"order\":[[0,\"asc\"]],\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true},\"columns\":[{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}},{\"visible\":true,\"search\":{\"search\":\"\",\"smart\":true,\"regex\":false,\"caseInsensitive\":true}}]}'); -- -------------------------------------------------------- -- -- Estrutura da tabela `usertype` -- CREATE TABLE `usertype` ( `usertypeid` int(8) NOT NULL, `usertype` varchar(16) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `usertype` -- INSERT INTO `usertype` (`usertypeid`, `usertype`) VALUES (1, 'Super Admin'), (2, 'Group Admin'), (3, 'User'); -- -------------------------------------------------------- -- -- Estrutura da tabela `version` -- CREATE TABLE `version` ( `app_ver` varchar(20) DEFAULT NULL, `XmdsVersion` smallint(6) NOT NULL, `XlfVersion` smallint(6) NOT NULL, `DBVersion` int(11) NOT NULL DEFAULT 1 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Version information'; -- -- Extraindo dados da tabela `version` -- INSERT INTO `version` (`app_ver`, `XmdsVersion`, `XlfVersion`, `DBVersion`) VALUES ('1.8.9', 5, 2, 140); -- -------------------------------------------------------- -- -- Estrutura da tabela `widget` -- CREATE TABLE `widget` ( `widgetId` int(11) NOT NULL, `playlistId` int(11) NOT NULL, `ownerId` int(11) NOT NULL, `type` varchar(50) NOT NULL, `duration` int(11) NOT NULL, `displayOrder` int(11) NOT NULL, `useDuration` int(4) NOT NULL DEFAULT 1, `calculatedDuration` int(4) NOT NULL, `createdDt` int(11) NOT NULL, `modifiedDt` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `widget` -- INSERT INTO `widget` (`widgetId`, `playlistId`, `ownerId`, `type`, `duration`, `displayOrder`, `useDuration`, `calculatedDuration`, `createdDt`, `modifiedDt`) VALUES (1, 1, 1, 'text', 15, 1, 1, 15, 1562777100, 1562778047), (2, 2, 1, 'text', 10, 1, 1, 10, 1562777100, 1562778047), (3, 3, 1, 'video', 22, 1, 0, 22, 1562777216, 1562777250), (4, 3, 1, 'video', 30, 2, 0, 30, 1562777259, 1562777262), (10, 9, 1, 'ticker', 30, 1, 0, 5, 1562777749, 1562777758), (11, 10, 1, 'ticker', 30, 1, 0, 5, 1562777750, 1562777758), (12, 11, 1, 'text', 1, 1, 0, 5, 1562777750, 1562777758), (14, 13, 1, 'image', 10, 1, 0, 10, 1562777811, 1562777814), (15, 14, 1, 'ticker', 5, 1, 0, 5, 1562777922, 1562778113), (16, 15, 1, 'ticker', 5, 1, 0, 5, 1562777929, 1562778009), (17, 16, 1, 'webpage', 10, 1, 0, 60, 1562777931, 1562778003), (18, 17, 1, 'embedded', 900, 1, 0, 60, 1562777932, 1562777981), (19, 18, 1, 'forecastio', 10, 1, 0, 60, 1562778219, 1562778225), (20, 19, 1, 'ticker', 5, 1, 0, 5, 1562778391, 1562778404), (21, 20, 1, 'ticker', 5, 1, 0, 0, 1562778393, 1562778393), (22, 21, 1, 'ticker', 5, 1, 0, 0, 1562778394, 1562778394), (23, 22, 1, 'ticker', 5, 1, 0, 0, 1562778395, 1562778395), (24, 23, 1, 'ticker', 5, 1, 0, 0, 1562778396, 1562778396); -- -------------------------------------------------------- -- -- Estrutura da tabela `widgetoption` -- CREATE TABLE `widgetoption` ( `widgetId` int(11) NOT NULL, `type` varchar(50) NOT NULL, `option` varchar(254) NOT NULL, `value` text DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Extraindo dados da tabela `widgetoption` -- INSERT INTO `widgetoption` (`widgetId`, `type`, `option`, `value`) VALUES (1, 'attrib', 'direction', 'none'), (1, 'attrib', 'fitText', '0'), (1, 'attrib', 'scrollSpeed', '2'), (1, 'attrib', 'xmds', '1'), (1, 'cdata', 'text', '<p style=\"text-align: center;\"><span style=\"font-size:168px;\"><strong><span style=\"font-family:arial,helvetica,sans-serif;\"><span style=\"color:#FFFFFF;\">Welcome to Xibo</span></span></strong></span></p>\n\n<p style=\"text-align: center;\"><span style=\"font-size:80px;\"><span style=\"font-family:arial,helvetica,sans-serif;\"><span style=\"color:#FFFFFF;\">Open Source Digital Signage</span></span></span></p>\n\n<p style=\"text-align: center;\"><span style=\"font-size:48px;\"><span style=\"color:#D3D3D3;\"><span style=\"font-family:arial,helvetica,sans-serif;\">This is the default layout - please feel free to change it whenever you like.</span></span></span></p>\n'), (2, 'attrib', 'direction', 'none'), (2, 'attrib', 'fitText', '0'), (2, 'attrib', 'scrollSpeed', '2'), (2, 'attrib', 'xmds', '1'), (2, 'cdata', 'text', '<p style=\"text-align: right;\"><span style=\"font-size:96px;\"><span style=\"font-family:arial,helvetica,sans-serif;\"><span style=\"color:#D3D3D3;\">[Clock]</span></span></span></p>\n'), (3, 'attrib', 'mute', '0'), (4, 'attrib', 'mute', '0'), (10, 'attrib', 'dataSetId', '4'), (10, 'attrib', 'disableDateSort', '0'), (10, 'attrib', 'durationIsPerItem', '1'), (10, 'attrib', 'effect', 'fade'), (10, 'attrib', 'filterClauses', '[{\"filterClause\":\"Produto\",\"filterClauseOperator\":\"AND\",\"filterClauseCriteria\":\"starts-with\",\"filterClauseValue\":\"\"},{\"filterClause\":\"Preco\",\"filterClauseOperator\":\"AND\",\"filterClauseCriteria\":\"starts-with\",\"filterClauseValue\":\"\"}]'), (10, 'attrib', 'itemsPerPage', '12'), (10, 'attrib', 'itemsSideBySide', '0'), (10, 'attrib', 'lowerLimit', '0'), (10, 'attrib', 'orderClauses', '[{\"orderClause\":\"Produto\",\"orderClauseDirection\":\"ASC\"}]'), (10, 'attrib', 'overrideTemplate', '0'), (10, 'attrib', 'randomiseItems', '0'), (10, 'attrib', 'sourceId', '2'), (10, 'attrib', 'speed', '3'), (10, 'attrib', 'updateInterval', '1'), (10, 'attrib', 'upperLimit', '0'), (10, 'attrib', 'useFilteringClause', '0'), (10, 'attrib', 'useOrderingClause', '0'), (10, 'attrib', 'xmds', '1'), (10, 'cdata', 'noDataMessage', '<p><span style=\"font-size: 48px;\"><span style=\"color: #ffffff;\">No Data returned from the source</span></span></p>\n'), (10, 'raw', 'template', '<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" height=\"62\" tr=\"\" width=\"100%\">\n <tbody>\n <tr>\n <td height=\"58\" style=\"background-color:rgba(0,0,0, 0.6);\" width=\"768\"><span style=\"font-size:44px;\"><strong><span style=\"color:#FFFFFF;\"><span style=\"padding:0px 0px 0px 15px;\">[Produto] Kg</span></span></strong></span></td>\n <td height=\"58\" style=\"background-color:rgba(0,0,0, 0.6);\" width=\"250\"><span style=\"font-size:44px;\"><strong><span style=\"color:#FFFFFF;\"><span style=\"padding:0px 0px 0px 15px;\">R$ [Preco]</span></span></strong></span></td>\n </tr>\n </tbody>\n</table>\n'), (11, 'attrib', 'dataSetId', '3'), (11, 'attrib', 'disableDateSort', '0'), (11, 'attrib', 'durationIsPerItem', '1'), (11, 'attrib', 'effect', 'fade'), (11, 'attrib', 'filterClauses', '[]'), (11, 'attrib', 'itemsPerPage', '12'), (11, 'attrib', 'itemsSideBySide', '0'), (11, 'attrib', 'lowerLimit', '0'), (11, 'attrib', 'orderClauses', '[{\"orderClause\":\"Produto\",\"orderClauseDirection\":\"ASC\"}]'), (11, 'attrib', 'overrideTemplate', '0'), (11, 'attrib', 'randomiseItems', '0'), (11, 'attrib', 'sourceId', '2'), (11, 'attrib', 'speed', '3'), (11, 'attrib', 'updateInterval', '1'), (11, 'attrib', 'upperLimit', '0'), (11, 'attrib', 'useFilteringClause', '0'), (11, 'attrib', 'useOrderingClause', '0'), (11, 'attrib', 'xmds', '1'), (11, 'cdata', 'noDataMessage', '<p><span style=\"font-size: 48px;\"><span style=\"color: #ffffff;\">No Data returned from the source</span></span></p>\n'), (11, 'raw', 'template', '<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" height=\"62\" tr=\"\" width=\"100%\">\n <tbody>\n <tr>\n <td height=\"58\" style=\"background-color:rgba(0,0,0, 0.6);\" width=\"768\"><span style=\"font-size:44px;\"><strong><span style=\"color:#FFFFFF;\"><span style=\"padding:0px 0px 0px 15px;\">[Produto] Kg</span></span></strong></span></td>\n <td height=\"58\" style=\"background-color:rgba(0,0,0, 0.6);\" width=\"250\"><span style=\"font-size:44px;\"><strong><span style=\"color:#FFFFFF;\"><span style=\"padding:0px 0px 0px 15px;\">R$ [Preco]</span></span></strong></span></td>\n </tr>\n </tbody>\n</table>\n'), (12, 'attrib', 'effect', 'none'), (12, 'attrib', 'xmds', '1'), (12, 'cdata', 'text', '<p><span style=\"color:#FFFFFF;\"><strong><span style=\"font-size:128px;text-shadow:2px 2px 8px #000;\">Cortes Bovinos</span></strong></span></p>\n'), (15, 'attrib', 'datasetid', '0'), (15, 'attrib', 'disableDateSort', '1'), (15, 'attrib', 'durationIsPerItem', '1'), (15, 'attrib', 'effect', 'fade'), (15, 'attrib', 'itemsPerPage', '5'), (15, 'attrib', 'itemsSideBySide', '0'), (15, 'attrib', 'lowerLimit', '0'), (15, 'attrib', 'name', 'Futebol na Rede - Brasileirão'), (15, 'attrib', 'overrideTemplate', '1'), (15, 'attrib', 'randomiseItems', '0'), (15, 'attrib', 'sourceId', '1'), (15, 'attrib', 'speed', '2'), (15, 'attrib', 'takeItemsFrom', 'start'), (15, 'attrib', 'templateId', 'title-only'), (15, 'attrib', 'textDirection', 'ltr'), (15, 'attrib', 'updateInterval', '300'), (15, 'attrib', 'upperLimit', '0'), (15, 'attrib', 'uri', 'http%3A%2F%2Ffutebolnarede.com%2Fxml%2Fbrasileirao-serie-a%2Fclassificacao.xml'), (15, 'attrib', 'xmds', '1'), (15, 'cdata', 'css', 'table{\n position: relative; \n z-index: 100;\n top: 5.6em;\n border-collapse: separate;\n border-spacing: 35px 20px;\n margin-bottom: 1%;\n font-size: 32pt;\n line-height: 30pt;\n margin: 0 1em;\n color: white;\n font-weight: 600;\n font-family: \'Open Sans\', sans-serif;\n}\n\n.posicao{\n width: 5%;\n vertical-align: middle;\n text-align: center;\n}\n\n.escudo{ \n width: 5%;\n vertical-align: middle;\n text-align: center;\n\n}\n\n.time{\n width: 50%;\n vertical-align: left;\n text-align:left;\n }\n\n.dados{ \n font-size: 38pt;\n width: 10%; \n font-weight:800;\n font-family: \'Open Sans\', sans-serif;\n font-family: \'Open Sans\', light800;\n text-align: center;\n vertical-align: middle;\n\n}\n\n.escudo > img {\n width: 1.2em;\n margin-bottom: -0.2em;\n}\n\n.foto > img { \n width: 1280px; \n height: 720px;\n position: absolute;\n left:0;\n right:0;\n top:0;\n bottom:0;\n}\n'), (15, 'cdata', 'noDataMessage', '<p><span style=\"font-size: 48px;\"><span style=\"color: #ffffff;\">No Data returned from the source</span></span></p>\n'), (15, 'cdata', 'template', '<link href=\"https://fonts.googleapis.com/css?family=Open+Sans:300,400,800,600,700\" rel=\"stylesheet\" />\n<div class=\"foto\">[background|image]</div>\n\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"8px\" heigth=\"auto\" width=\"1200px\">\n <tbody>\n <tr>\n <td class=\"posicao\">[posicao|]</td>\n <td class=\"escudo\">[escudo|image]</td>\n <td class=\"time\">[Title]</td>\n <td class=\"dados\">[pontos|]</td>\n <td class=\"dados\">[jogos|]</td>\n <td class=\"dados\">[vitorias|]</td>\n <td class=\"dados\" style=\"text-align: center;\">[saldo|]</td>\n </tr>\n </tbody>\n</table>\n'), (16, 'attrib', 'datasetid', '5'), (16, 'attrib', 'disableDateSort', '0'), (16, 'attrib', 'durationIsPerItem', '1'), (16, 'attrib', 'effect', 'fade'), (16, 'attrib', 'filter', '(Dia = DATE_FORMAT(CURDATE(), \'%d\') or Dia=DATE_FORMAT(DATE_ADD(CurDate(),INTERVAL 1 DAY), \'%d\')) AND Mes = DATE_FORMAT(CURDATE(), \'%m\')'), (16, 'attrib', 'filterClauses', '[]'), (16, 'attrib', 'itemsPerPage', '1'), (16, 'attrib', 'itemsSideBySide', '0'), (16, 'attrib', 'lowerLimit', '0'), (16, 'attrib', 'name', 'Cardápio'), (16, 'attrib', 'orderClauses', '[{\"orderClause\":\"Dia\",\"orderClauseDirection\":\"ASC\"}]'), (16, 'attrib', 'ordering', 'Dia'), (16, 'attrib', 'overrideTemplate', '0'), (16, 'attrib', 'randomiseItems', '0'), (16, 'attrib', 'sourceId', '2'), (16, 'attrib', 'speed', '2'), (16, 'attrib', 'updateInterval', '60'), (16, 'attrib', 'upperLimit', '0'), (16, 'attrib', 'useFilteringClause', '1'), (16, 'attrib', 'useOrderingClause', '0'), (16, 'attrib', 'xmds', '1'), (16, 'cdata', 'css', '#background > img {\n width:1280px;\n height:720px;\n}\n#side-bar {\n color: white;\n background-color: rgba(0,0,0,0.6);\n position: absolute;\n bottom: 0;\n top: 0;\n width: 30%;\n padding: 10px;\n right:0;\n}\n\n#diaSemana {\n font-size: 50px;\n font-weight: bold;\n font-family: Arial;\n text-align: right;\n}\n\n#inside {\n line-height:5px;\n}\n\n#diaMes {\n font-size: 45px;\n font-weight: bold;\n font-family: Arial;\n text-align: right; \n}\n\n.prato {\n font-style: italic;\n font-size: 35px;\n font-family: Arial;\n text-align: right;\n}\n\n.title {\n font-weight: bold;\n font-size: 40px;\n font-family: Arial;\n text-align: right; \n}'), (16, 'cdata', 'noDataMessage', '<div style=\"padding-top:30%\">\n<p style=\"text-align: center;\"><b style=\"font-size: 40px; color: rgb(105, 105, 105); font-family: "comic sans ms", cursive;\">Não há nenhum cardápio hoje. </b></p>\n\n<p style=\"text-align: center;\"> </p>\n</div>\n'), (16, 'raw', 'template', '<div id=\"background\">[Imagem|18]\n<div id=\"side-bar\">\n<div id=\"inside\">\n<p id=\"diaSemana\" style=\"margin-top: 50px\">[DiaSemana|14]</p>\n</div>\n\n<div class=\"inside\">\n<p class=\"title\" style=\"margin-top: 100px\">Prato Principal</p>\n\n<p class=\"prato\">[Principal|15]</p>\n\n<p class=\"prato\">[Acompanhamento|16]</p>\n</div>\n\n<div class=\"inside\">\n<p class=\"title\" style=\"margin-top: 100px\">Prato Opcional</p>\n\n<p class=\"prato\">[Opcional|17]</p>\n</div>\n</div>\n</div>\n'), (17, 'attrib', 'modeid', '2'), (17, 'attrib', 'pageHeight', '720'), (17, 'attrib', 'pageWidth', '1280'), (17, 'attrib', 'transparency', '0'), (17, 'attrib', 'uri', 'https%3A%2F%2Fwww.mgatv.com.br%2Fvb%2Frelogio%2F'), (17, 'attrib', 'xmds', '1'), (18, 'attrib', 'name', 'Youtube - LiveStream'), (18, 'attrib', 'scaleContent', '1'), (18, 'attrib', 'transparency', '1'), (18, 'cdata', 'embedHtml', '<div id=\"player\"></div>'), (18, 'cdata', 'embedScript', '<script>\r\n var tag = document.createElement(\'script\');\r\n tag.src = \"https://www.youtube.com/iframe_api\";\r\n var firstScriptTag = document.getElementsByTagName(\'script\')[0];\r\n firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\r\n var player;\r\n function onYouTubeIframeAPIReady() {\r\n player = new YT.Player(\'player\', {\r\n height: \'720\',\r\n width: \'1280\',\r\n videoId: \'VXjH11UUsrY\',\r\n events: {\r\n \'onReady\': onPlayerReady\r\n }\r\n });\r\n }\r\n function onPlayerReady(event) {\r\n event.target.playVideo();\r\n }\r\n</script>'), (18, 'cdata', 'embedStyle', '<style type=\"text/css\">\r\n\r\n</style>\r\n'), (19, 'attrib', 'dayConditionsOnly', '1'), (19, 'attrib', 'lang', 'pt'), (19, 'attrib', 'latitude', '-19.8157'), (19, 'attrib', 'longitude', '-43.9542'), (19, 'attrib', 'name', 'TEMPO BH'), (19, 'attrib', 'overrideTemplate', '1'), (19, 'attrib', 'templateId', 'weather-module1l'), (19, 'attrib', 'units', 'auto'), (19, 'attrib', 'updateInterval', '60'), (19, 'attrib', 'useDisplayLocation', '0'), (19, 'attrib', 'widgetOriginalHeight', '1080'), (19, 'attrib', 'widgetOriginalWidth', '1920'), (19, 'cdata', 'currentTemplate', '<div class=\"bg-div bg-[icon] container-fluid\">\n <div class=\"row\">\n <div class=\"col-xs-6\">\n <h1 class=\"date shadowed\"> [time|M] <br>[time|d]</h1>\n </div>\n <div class=\"col-xs-5\">\n <div class=\"row text-right temp shadowed\">[temperatureRound]º[temperatureUnit]</div>\n <div class=\"row pull-right animated rotateInUpRight main-icon shadowed\"><i class=\"wi [wicon]\"></i></div>\n </div>\n </div>\n <div class=\"bg-footer row bottom-bar\">\n <div class=\"col-xs-4 text-center\">\n <div class=\"row forecast-current\">[summary]</div>\n <div class=\"row forecast-second\">Vento: [windDirection] [windSpeed] [windSpeedUnit]</div>\n <div class=\"row forecast-second\">Humidade: [humidityPercent]%</div>\n </div>\n <div class=\"upcoming\">\n [dailyForecast|4|1]\n </div>\n <div class=\"col-xs-12 powered\"></div>\n </div>\n</div>'), (19, 'cdata', 'dailyTemplate', '<div class=\"day col-xs-2\">\n <div class=\"row text-center day-details\">[time|D]</div>\n <div class=\"row animated Bounce second-icon\"><i class=\"wi [wicon]\"></i></div>\n <div class=\"row text-center temp-details\">[temperatureMaxRound] º [temperatureUnit] </div>\n</div>'), (19, 'cdata', 'styleSheet', '#content { \n height: inherit; \n}\n\n.shadowed {\ntext-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);\n filter: dropshadow(color=rgba(0, 0, 0, 0.4), offx=2, offy=2);\n}\n\n.bg-div {\n font-family: \'Roboto\', sans-serif;\n background-repeat: no-repeat;\n background-size: cover;\n background-position: left;\n width: 1920px !important;\n height: 1080px !important;\n}\n\n.bg-cloudy {\n background-image: url(\'[cloudy-image]\');\n}\n\n.bg-partly-cloudy-day {\n background-image: url(\'[day-cloudy-image]\');\n}\n\n.bg-clear-day {\n background-image: url(\'[day-sunny-image]\');\n}\n\n.bg-fog {\n background-image: url(\'[fog-image]\');\n}\n\n.bg-sleet {\n background-image: url(\'[hail-image]\');\n}\n\n.bg-clear-night {\n background-image: url(\'[night-clear-image]\');\n}\n\n.bg-partly-cloudy-night {\n background-image: url(\'[night-partly-cloudy-image]\');\n}\n\n.bg-rain {\n background-image: url(\'[rain-image]\');\n}\n\n.bg-snow {\n background-image: url(\'[snow-image]\');\n}\n\n.bg-wind {\n background-image: url(\'[windy-image]\');\n}\n.bg-footer {\n position: relative;\n right: 0;\n top: 106px;\n left: 0;\n text-align: center;\n background-color: #000;\n opacity: 0.9;\n padding: 30px 0 0 0;\n}\n\n.date {\n font-family: \'Roboto\', sans-serif;\n font-size: 100px;\n color: #fff;\n font-weight: 900;\n margin-left: 40px;\n text-transform: uppercase;\n}\n\n.temp {\n font-family: \'Roboto\', sans-serif;\n font-size: 260px;\n color: #fff;\n font-weight: 900;\n}\n\n.city {\n font-family: \'Roboto\', sans-serif;\n font-size: 40px;\n color: #fff;\n margin-left: 40px;\n}\n\n.day-details {\n font-size: 40px;\n font-weight: 200;\n color: #fff;\n font-style: italic;\n}\n\n.temp-details {\n font-size: 35px;\n color: #fff;\n padding-bottom: 10px;\n}\n\n.forecast-current {\n font-weight: 900;\n color: #fff;\n font-size: 60px;\n}\n\n.forecast-second {\n margin-top: 10px;\n font-weight: 200;\n color: #fff;\n font-size: 40px;\n}\n\n.main-icon {\n color: #fff;\n font-size: 180px;\n}\n\n.second-icon {\n color: #fff;\n font-size: 60px;\n padding: 25px 0px;\n}\n\n.powered {\n padding: 15px 0;\n color: #000;\n font-size: 24px;\n background-color: white;\n}'), (20, 'attrib', 'datasetid', '0'), (20, 'attrib', 'disableDateSort', '0'), (20, 'attrib', 'durationIsPerItem', '1'), (20, 'attrib', 'effect', 'fade'), (20, 'attrib', 'itemsPerPage', '1'), (20, 'attrib', 'itemsSideBySide', '0'), (20, 'attrib', 'lowerLimit', '0'), (20, 'attrib', 'name', 'UOL-Dicas'), (20, 'attrib', 'overrideTemplate', '1'), (20, 'attrib', 'sourceId', '1'), (20, 'attrib', 'speed', '2'), (20, 'attrib', 'takeItemsFrom', 'start'), (20, 'attrib', 'templateId', 'media-rss-with-left-hand-text'), (20, 'attrib', 'textDirection', 'ltr'), (20, 'attrib', 'updateInterval', '90'), (20, 'attrib', 'upperLimit', '0'), (20, 'attrib', 'uri', 'http%3A%2F%2Frss.suatv.com.br%2FUol%2FConvert%2FDicas.php'), (20, 'attrib', 'xmds', '1'), (20, 'cdata', 'css', '.linkfoto > img { width:1920px;height:1080px;}\n.logo1{display: block; margin: 15px auto 30px auto}\n.cycle-overlay {color: white;background-color: rgba(0,0,0,0.6);position: absolute;bottom: 0;width: 20%;height:100%;padding: 15px;}\n'), (20, 'cdata', 'template', '<div class=\"linkfoto\">[linkfoto|image]\n<div class=\"cycle-overlay\">\n<div class=\"logo1\">[logo1|image]</div>\n\n<p style=\"font-family: Arial, Verdana, sans-serif; font-size:65px; color:yellow;\">[Title]</p>\n\n<p style=\"font-family: Arial, Verdana, sans-serif; font-size:50px; margin-top:40px;\">[Description]</p>\n</div>\n</div>\n'), (21, 'attrib', 'datasetid', '0'), (21, 'attrib', 'disableDateSort', '0'), (21, 'attrib', 'durationIsPerItem', '1'), (21, 'attrib', 'effect', 'fade'), (21, 'attrib', 'itemsPerPage', '1'), (21, 'attrib', 'itemsSideBySide', '0'), (21, 'attrib', 'lowerLimit', '0'), (21, 'attrib', 'name', 'Uol-Economia'), (21, 'attrib', 'overrideTemplate', '1'), (21, 'attrib', 'sourceId', '1'), (21, 'attrib', 'speed', '2'), (21, 'attrib', 'takeItemsFrom', 'start'), (21, 'attrib', 'templateId', 'title-only'), (21, 'attrib', 'textDirection', 'ltr'), (21, 'attrib', 'updateInterval', '90'), (21, 'attrib', 'upperLimit', '0'), (21, 'attrib', 'uri', 'http%3A%2F%2Frss.suatv.com.br%2Fuol%2FConvert%2FEconomia.php'), (21, 'attrib', 'xmds', '1'), (21, 'cdata', 'css', '.linkfoto > img { width:1920px;height:1080px;}\n.logo1{display: block; margin: 15px auto 30px auto}\n.cycle-overlay {color: white;background-color: rgba(0,0,0,0.6);position: absolute;bottom: 0;width: 20%;height:100%;padding: 15px;}\n'), (21, 'cdata', 'template', '<div class=\"linkfoto\">[linkfoto|image]\n<div class=\"cycle-overlay\">\n<div class=\"logo1\">[logo1|image]</div>\n\n<p style=\"font-family: Arial, Verdana, sans-serif; font-size:65px; color:yellow;\">[Title]</p>\n\n<p style=\"font-family: Arial, Verdana, sans-serif; font-size:50px; margin-top:40px;\">[Description]</p>\n</div>\n</div>\n'), (22, 'attrib', 'datasetid', '0'), (22, 'attrib', 'disableDateSort', '0'), (22, 'attrib', 'durationIsPerItem', '1'), (22, 'attrib', 'effect', 'fade'), (22, 'attrib', 'itemsPerPage', '1'), (22, 'attrib', 'itemsSideBySide', '0'), (22, 'attrib', 'lowerLimit', '0'), (22, 'attrib', 'name', 'Uol-Esportes'), (22, 'attrib', 'overrideTemplate', '1'), (22, 'attrib', 'sourceId', '1'), (22, 'attrib', 'speed', '2'), (22, 'attrib', 'takeItemsFrom', 'start'), (22, 'attrib', 'templateId', 'media-rss-with-left-hand-text'), (22, 'attrib', 'textDirection', 'ltr'), (22, 'attrib', 'updateInterval', '90'), (22, 'attrib', 'upperLimit', '0'), (22, 'attrib', 'uri', 'http%3A%2F%2Frss.suatv.com.br%2Fuol%2FConvert%2FEsporte.php'), (22, 'attrib', 'xmds', '1'), (22, 'cdata', 'css', '.linkfoto > img { width:1920px;height:1080px;}\n.logo1{display: block; margin: 15px auto 30px auto}\n.cycle-overlay {color: white;background-color: rgba(0,0,0,0.6);position: absolute;bottom: 0;width: 20%;height:100%;padding: 15px;}'), (22, 'cdata', 'template', '<div class=\"linkfoto\">[linkfoto|image]\n<div class=\"cycle-overlay\">\n<div class=\"logo1\">[logo1|image]</div>\n<p style=\"font-family: Arial, Verdana, sans-serif; font-size:65px; color:yellow;\">[Title]</p>\n<p style=\"font-family: Arial, Verdana, sans-serif; font-size:50px; margin-top:40px;\">[Description]</p>\n</div>\n</div>\n'), (23, 'attrib', 'datasetid', '0'), (23, 'attrib', 'disableDateSort', '0'), (23, 'attrib', 'durationIsPerItem', '1'), (23, 'attrib', 'effect', 'fade'), (23, 'attrib', 'itemsPerPage', '1'), (23, 'attrib', 'itemsSideBySide', '0'), (23, 'attrib', 'lowerLimit', '0'), (23, 'attrib', 'name', 'Uol-Política'), (23, 'attrib', 'overrideTemplate', '1'), (23, 'attrib', 'sourceId', '1'), (23, 'attrib', 'speed', '2'), (23, 'attrib', 'takeItemsFrom', 'start'), (23, 'attrib', 'templateId', 'title-only'), (23, 'attrib', 'textDirection', 'ltr'), (23, 'attrib', 'updateInterval', '90'), (23, 'attrib', 'upperLimit', '0'), (23, 'attrib', 'uri', 'http%3A%2F%2Frss.suatv.com.br%2Fuol%2FConvert%2FPolitica.php'), (23, 'attrib', 'xmds', '1'), (23, 'cdata', 'css', '.linkfoto > img { width:1920px;height:1080px;}\n.logo1{display: block; margin: 15px auto 30px auto}\n.cycle-overlay {color: white;background-color: rgba(0,0,0,0.6);position: absolute;bottom: 0;width: 20%;height:100%;padding: 15px;}\n'), (23, 'cdata', 'template', '<div class=\"linkfoto\">[linkfoto|image]\n<div class=\"cycle-overlay\">\n<div class=\"logo1\">[logo1|image]</div>\n<p style=\"font-family: Arial, Verdana, sans-serif; font-size:65px; color:yellow;\">[Title]</p>\n<p style=\"font-family: Arial, Verdana, sans-serif; font-size:50px; margin-top:40px;\">[Description]</p>\n</div>\n</div>\n'), (24, 'attrib', 'datasetid', '0'), (24, 'attrib', 'disableDateSort', '0'), (24, 'attrib', 'durationIsPerItem', '1'), (24, 'attrib', 'effect', 'fade'), (24, 'attrib', 'itemsPerPage', '1'), (24, 'attrib', 'itemsSideBySide', '0'), (24, 'attrib', 'lowerLimit', '0'), (24, 'attrib', 'name', 'Uol-Televisão'), (24, 'attrib', 'overrideTemplate', '1'), (24, 'attrib', 'randomiseItems', '0'), (24, 'attrib', 'sourceId', '1'), (24, 'attrib', 'speed', '2'), (24, 'attrib', 'takeItemsFrom', 'start'), (24, 'attrib', 'templateId', 'title-only'), (24, 'attrib', 'textDirection', 'ltr'), (24, 'attrib', 'updateInterval', '90'), (24, 'attrib', 'upperLimit', '0'), (24, 'attrib', 'uri', 'http%3A%2F%2Frss.suatv.com.br%2Fuol%2FConvert%2FTelevisao.php'), (24, 'attrib', 'xmds', '1'), (24, 'cdata', 'css', '.linkfoto > img { width:1920px;height:1080px;}\n.logo1{display: block; margin: 15px auto 30px auto}\n.cycle-overlay {color: white;background-color: rgba(0,0,0,0.6);position: absolute;bottom: 0;width: 20%;height:100%;padding: 15px;}\n'), (24, 'cdata', 'noDataMessage', '<p><span style=\"font-size: 48px;\"><span style=\"color: #ffffff;\">No Data returned from the source</span></span></p>\n'), (24, 'cdata', 'template', '<div class=\"linkfoto\">[linkfoto|image]\n<div class=\"cycle-overlay\">\n<div class=\"logo1\">[logo1|image]</div>\n\n<p style=\"font-family: Arial, Verdana, sans-serif; font-size:65px; color:yellow;\">[Title]</p>\n\n<p style=\"font-family: Arial, Verdana, sans-serif; font-size:50px; margin-top:40px;\">[Description]</p>\n</div>\n</div>\n'); -- -- Indexes for dumped tables -- -- -- Indexes for table `auditlog` -- ALTER TABLE `auditlog` ADD PRIMARY KEY (`logId`); -- -- Indexes for table `bandwidth` -- ALTER TABLE `bandwidth` ADD PRIMARY KEY (`DisplayID`,`Type`,`Month`); -- -- Indexes for table `bandwidthtype` -- ALTER TABLE `bandwidthtype` ADD PRIMARY KEY (`bandwidthtypeid`); -- -- Indexes for table `blacklist` -- ALTER TABLE `blacklist` ADD PRIMARY KEY (`BlackListID`), ADD KEY `MediaID` (`MediaID`), ADD KEY `DisplayID` (`DisplayID`); -- -- Indexes for table `campaign` -- ALTER TABLE `campaign` ADD PRIMARY KEY (`CampaignID`), ADD KEY `UserID` (`UserID`); -- -- Indexes for table `command` -- ALTER TABLE `command` ADD PRIMARY KEY (`commandId`); -- -- Indexes for table `dataset` -- ALTER TABLE `dataset` ADD PRIMARY KEY (`DataSetID`), ADD KEY `UserID` (`UserID`); -- -- Indexes for table `datasetcolumn` -- ALTER TABLE `datasetcolumn` ADD PRIMARY KEY (`DataSetColumnID`), ADD KEY `DataSetID` (`DataSetID`); -- -- Indexes for table `dataset_3` -- ALTER TABLE `dataset_3` ADD PRIMARY KEY (`id`); -- -- Indexes for table `dataset_4` -- ALTER TABLE `dataset_4` ADD PRIMARY KEY (`id`); -- -- Indexes for table `dataset_5` -- ALTER TABLE `dataset_5` ADD PRIMARY KEY (`id`); -- -- Indexes for table `daypart` -- ALTER TABLE `daypart` ADD PRIMARY KEY (`dayPartId`); -- -- Indexes for table `display` -- ALTER TABLE `display` ADD PRIMARY KEY (`displayid`), ADD KEY `defaultplaylistid` (`defaultlayoutid`); -- -- Indexes for table `displayevent` -- ALTER TABLE `displayevent` ADD PRIMARY KEY (`displayEventId`), ADD KEY `eventDate` (`eventDate`), ADD KEY `displayId` (`displayId`,`end`); -- -- Indexes for table `displaygroup` -- ALTER TABLE `displaygroup` ADD PRIMARY KEY (`DisplayGroupID`); -- -- Indexes for table `displayprofile` -- ALTER TABLE `displayprofile` ADD PRIMARY KEY (`displayprofileid`); -- -- Indexes for table `group` -- ALTER TABLE `group` ADD PRIMARY KEY (`groupID`); -- -- Indexes for table `help` -- ALTER TABLE `help` ADD PRIMARY KEY (`HelpID`); -- -- Indexes for table `layout` -- ALTER TABLE `layout` ADD PRIMARY KEY (`layoutID`); -- -- Indexes for table `lkcampaignlayout` -- ALTER TABLE `lkcampaignlayout` ADD PRIMARY KEY (`LkCampaignLayoutID`), ADD UNIQUE KEY `CampaignID_2` (`CampaignID`,`LayoutID`,`DisplayOrder`), ADD KEY `CampaignID` (`CampaignID`), ADD KEY `LayoutID` (`LayoutID`); -- -- Indexes for table `lkcommanddisplayprofile` -- ALTER TABLE `lkcommanddisplayprofile` ADD PRIMARY KEY (`commandId`,`displayProfileId`); -- -- Indexes for table `lkdgdg` -- ALTER TABLE `lkdgdg` ADD KEY `lkdgdg_parentId_childId_depth_index` (`parentId`,`childId`,`depth`), ADD KEY `lkdgdg_childId_parentId_depth_index` (`childId`,`parentId`,`depth`); -- -- Indexes for table `lkdisplaydg` -- ALTER TABLE `lkdisplaydg` ADD PRIMARY KEY (`LkDisplayDGID`), ADD UNIQUE KEY `DisplayGroupDisplayId` (`DisplayGroupID`,`DisplayID`), ADD KEY `DisplayGroupID` (`DisplayGroupID`), ADD KEY `DisplayID` (`DisplayID`); -- -- Indexes for table `lklayoutdisplaygroup` -- ALTER TABLE `lklayoutdisplaygroup` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `layoutId` (`layoutId`,`displayGroupId`); -- -- Indexes for table `lkmediadisplaygroup` -- ALTER TABLE `lkmediadisplaygroup` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `mediaid` (`mediaid`,`displaygroupid`); -- -- Indexes for table `lknotificationdg` -- ALTER TABLE `lknotificationdg` ADD PRIMARY KEY (`lkNotificationDgId`), ADD UNIQUE KEY `notificationId` (`notificationId`,`displayGroupId`); -- -- Indexes for table `lknotificationgroup` -- ALTER TABLE `lknotificationgroup` ADD PRIMARY KEY (`lkNotificationGroupId`), ADD UNIQUE KEY `notificationId` (`notificationId`,`groupId`); -- -- Indexes for table `lknotificationuser` -- ALTER TABLE `lknotificationuser` ADD PRIMARY KEY (`lkNotificationUserId`), ADD UNIQUE KEY `notificationId` (`notificationId`,`userId`); -- -- Indexes for table `lkregionplaylist` -- ALTER TABLE `lkregionplaylist` ADD PRIMARY KEY (`regionId`,`playlistId`,`displayOrder`), ADD KEY `idx_lkregionplaylist_playlistId` (`playlistId`); -- -- Indexes for table `lkscheduledisplaygroup` -- ALTER TABLE `lkscheduledisplaygroup` ADD PRIMARY KEY (`eventId`,`displayGroupId`); -- -- Indexes for table `lktagcampaign` -- ALTER TABLE `lktagcampaign` ADD PRIMARY KEY (`lkTagCampaignId`), ADD UNIQUE KEY `tagId` (`tagId`,`campaignId`); -- -- Indexes for table `lktagdisplaygroup` -- ALTER TABLE `lktagdisplaygroup` ADD PRIMARY KEY (`lkTagDisplayGroupId`), ADD UNIQUE KEY `tagId` (`tagId`,`displayGroupId`); -- -- Indexes for table `lktaglayout` -- ALTER TABLE `lktaglayout` ADD PRIMARY KEY (`lkTagLayoutId`), ADD UNIQUE KEY `tagId` (`tagId`,`layoutId`); -- -- Indexes for table `lktagmedia` -- ALTER TABLE `lktagmedia` ADD PRIMARY KEY (`lkTagMediaId`), ADD UNIQUE KEY `tagId` (`tagId`,`mediaId`); -- -- Indexes for table `lkusergroup` -- ALTER TABLE `lkusergroup` ADD PRIMARY KEY (`LkUserGroupID`), ADD UNIQUE KEY `GroupID_2` (`GroupID`,`UserID`), ADD KEY `GroupID` (`GroupID`), ADD KEY `UserID` (`UserID`); -- -- Indexes for table `lkwidgetaudio` -- ALTER TABLE `lkwidgetaudio` ADD UNIQUE KEY `lkwidgetaudio_widgetId_mediaId_uindex` (`widgetId`,`mediaId`); -- -- Indexes for table `lkwidgetmedia` -- ALTER TABLE `lkwidgetmedia` ADD PRIMARY KEY (`widgetId`,`mediaId`); -- -- Indexes for table `log` -- ALTER TABLE `log` ADD PRIMARY KEY (`logid`), ADD KEY `logdate` (`logdate`); -- -- Indexes for table `media` -- ALTER TABLE `media` ADD PRIMARY KEY (`mediaID`), ADD KEY `media_editedMediaID_index` (`editedMediaID`); -- -- Indexes for table `module` -- ALTER TABLE `module` ADD PRIMARY KEY (`ModuleID`); -- -- Indexes for table `notification` -- ALTER TABLE `notification` ADD PRIMARY KEY (`notificationId`); -- -- Indexes for table `oauth_access_tokens` -- ALTER TABLE `oauth_access_tokens` ADD PRIMARY KEY (`access_token`), ADD KEY `session_id` (`session_id`); -- -- Indexes for table `oauth_access_token_scopes` -- ALTER TABLE `oauth_access_token_scopes` ADD PRIMARY KEY (`id`), ADD KEY `access_token` (`access_token`), ADD KEY `scope` (`scope`); -- -- Indexes for table `oauth_auth_codes` -- ALTER TABLE `oauth_auth_codes` ADD PRIMARY KEY (`auth_code`), ADD KEY `session_id` (`session_id`); -- -- Indexes for table `oauth_auth_code_scopes` -- ALTER TABLE `oauth_auth_code_scopes` ADD PRIMARY KEY (`id`), ADD KEY `auth_code` (`auth_code`), ADD KEY `scope` (`scope`); -- -- Indexes for table `oauth_clients` -- ALTER TABLE `oauth_clients` ADD PRIMARY KEY (`id`), ADD KEY `oauth_clients_user_UserID_fk` (`userId`); -- -- Indexes for table `oauth_client_redirect_uris` -- ALTER TABLE `oauth_client_redirect_uris` ADD PRIMARY KEY (`id`); -- -- Indexes for table `oauth_client_scopes` -- ALTER TABLE `oauth_client_scopes` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `oauth_client_scopes_clientId_scopeId_uindex` (`clientId`,`scopeId`), ADD KEY `oauth_client_scopes_oauth_scopes_id_fk` (`scopeId`); -- -- Indexes for table `oauth_refresh_tokens` -- ALTER TABLE `oauth_refresh_tokens` ADD PRIMARY KEY (`refresh_token`), ADD KEY `access_token` (`access_token`); -- -- Indexes for table `oauth_scopes` -- ALTER TABLE `oauth_scopes` ADD PRIMARY KEY (`id`); -- -- Indexes for table `oauth_scope_routes` -- ALTER TABLE `oauth_scope_routes` ADD PRIMARY KEY (`id`); -- -- Indexes for table `oauth_sessions` -- ALTER TABLE `oauth_sessions` ADD PRIMARY KEY (`id`), ADD KEY `client_id` (`client_id`); -- -- Indexes for table `oauth_session_scopes` -- ALTER TABLE `oauth_session_scopes` ADD PRIMARY KEY (`id`), ADD KEY `session_id` (`session_id`), ADD KEY `scope` (`scope`); -- -- Indexes for table `pages` -- ALTER TABLE `pages` ADD PRIMARY KEY (`pageID`); -- -- Indexes for table `permission` -- ALTER TABLE `permission` ADD PRIMARY KEY (`permissionId`); -- -- Indexes for table `permissionentity` -- ALTER TABLE `permissionentity` ADD PRIMARY KEY (`entityId`), ADD UNIQUE KEY `entity` (`entity`); -- -- Indexes for table `playlist` -- ALTER TABLE `playlist` ADD PRIMARY KEY (`playlistId`); -- -- Indexes for table `region` -- ALTER TABLE `region` ADD PRIMARY KEY (`regionId`); -- -- Indexes for table `regionoption` -- ALTER TABLE `regionoption` ADD PRIMARY KEY (`regionId`,`option`); -- -- Indexes for table `requiredfile` -- ALTER TABLE `requiredfile` ADD PRIMARY KEY (`rfId`), ADD KEY `requiredfile_displayId_type_index` (`displayId`,`type`); -- -- Indexes for table `resolution` -- ALTER TABLE `resolution` ADD PRIMARY KEY (`resolutionID`); -- -- Indexes for table `schedule` -- ALTER TABLE `schedule` ADD PRIMARY KEY (`eventID`), ADD KEY `layoutID` (`CampaignID`); -- -- Indexes for table `session` -- ALTER TABLE `session` ADD PRIMARY KEY (`session_id`), ADD KEY `userID` (`userID`); -- -- Indexes for table `setting` -- ALTER TABLE `setting` ADD PRIMARY KEY (`settingid`); -- -- Indexes for table `stat` -- ALTER TABLE `stat` ADD PRIMARY KEY (`statID`), ADD KEY `statDate` (`statDate`), ADD KEY `Type` (`displayID`,`end`,`Type`); -- -- Indexes for table `tag` -- ALTER TABLE `tag` ADD PRIMARY KEY (`tagId`); -- -- Indexes for table `task` -- ALTER TABLE `task` ADD PRIMARY KEY (`taskId`); -- -- Indexes for table `transition` -- ALTER TABLE `transition` ADD PRIMARY KEY (`TransitionID`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`UserID`), ADD KEY `usertypeid` (`usertypeid`); -- -- Indexes for table `useroption` -- ALTER TABLE `useroption` ADD UNIQUE KEY `userId` (`userId`,`option`); -- -- Indexes for table `usertype` -- ALTER TABLE `usertype` ADD PRIMARY KEY (`usertypeid`); -- -- Indexes for table `widget` -- ALTER TABLE `widget` ADD PRIMARY KEY (`widgetId`); -- -- Indexes for table `widgetoption` -- ALTER TABLE `widgetoption` ADD PRIMARY KEY (`widgetId`,`type`,`option`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `auditlog` -- ALTER TABLE `auditlog` MODIFY `logId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=66; -- -- AUTO_INCREMENT for table `bandwidthtype` -- ALTER TABLE `bandwidthtype` MODIFY `bandwidthtypeid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; -- -- AUTO_INCREMENT for table `blacklist` -- ALTER TABLE `blacklist` MODIFY `BlackListID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `campaign` -- ALTER TABLE `campaign` MODIFY `CampaignID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; -- -- AUTO_INCREMENT for table `command` -- ALTER TABLE `command` MODIFY `commandId` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `dataset` -- ALTER TABLE `dataset` MODIFY `DataSetID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `datasetcolumn` -- ALTER TABLE `datasetcolumn` MODIFY `DataSetColumnID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; -- -- AUTO_INCREMENT for table `dataset_3` -- ALTER TABLE `dataset_3` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `dataset_4` -- ALTER TABLE `dataset_4` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `dataset_5` -- ALTER TABLE `dataset_5` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `daypart` -- ALTER TABLE `daypart` MODIFY `dayPartId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `display` -- ALTER TABLE `display` MODIFY `displayid` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `displayevent` -- ALTER TABLE `displayevent` MODIFY `displayEventId` bigint(20) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `displaygroup` -- ALTER TABLE `displaygroup` MODIFY `DisplayGroupID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `displayprofile` -- ALTER TABLE `displayprofile` MODIFY `displayprofileid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `group` -- ALTER TABLE `group` MODIFY `groupID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `help` -- ALTER TABLE `help` MODIFY `HelpID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=85; -- -- AUTO_INCREMENT for table `layout` -- ALTER TABLE `layout` MODIFY `layoutID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; -- -- AUTO_INCREMENT for table `lkcampaignlayout` -- ALTER TABLE `lkcampaignlayout` MODIFY `LkCampaignLayoutID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; -- -- AUTO_INCREMENT for table `lkdisplaydg` -- ALTER TABLE `lkdisplaydg` MODIFY `LkDisplayDGID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `lklayoutdisplaygroup` -- ALTER TABLE `lklayoutdisplaygroup` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `lkmediadisplaygroup` -- ALTER TABLE `lkmediadisplaygroup` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `lknotificationdg` -- ALTER TABLE `lknotificationdg` MODIFY `lkNotificationDgId` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `lknotificationgroup` -- ALTER TABLE `lknotificationgroup` MODIFY `lkNotificationGroupId` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `lknotificationuser` -- ALTER TABLE `lknotificationuser` MODIFY `lkNotificationUserId` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `lktagcampaign` -- ALTER TABLE `lktagcampaign` MODIFY `lkTagCampaignId` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `lktagdisplaygroup` -- ALTER TABLE `lktagdisplaygroup` MODIFY `lkTagDisplayGroupId` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `lktaglayout` -- ALTER TABLE `lktaglayout` MODIFY `lkTagLayoutId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; -- -- AUTO_INCREMENT for table `lktagmedia` -- ALTER TABLE `lktagmedia` MODIFY `lkTagMediaId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `lkusergroup` -- ALTER TABLE `lkusergroup` MODIFY `LkUserGroupID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `log` -- ALTER TABLE `log` MODIFY `logid` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'The log ID', AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `media` -- ALTER TABLE `media` MODIFY `mediaID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=71; -- -- AUTO_INCREMENT for table `module` -- ALTER TABLE `module` MODIFY `ModuleID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34; -- -- AUTO_INCREMENT for table `notification` -- ALTER TABLE `notification` MODIFY `notificationId` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `oauth_access_token_scopes` -- ALTER TABLE `oauth_access_token_scopes` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `oauth_auth_code_scopes` -- ALTER TABLE `oauth_auth_code_scopes` MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `oauth_client_redirect_uris` -- ALTER TABLE `oauth_client_redirect_uris` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `oauth_client_scopes` -- ALTER TABLE `oauth_client_scopes` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `oauth_scope_routes` -- ALTER TABLE `oauth_scope_routes` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `oauth_sessions` -- ALTER TABLE `oauth_sessions` MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `oauth_session_scopes` -- ALTER TABLE `oauth_session_scopes` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `pages` -- ALTER TABLE `pages` MODIFY `pageID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=40; -- -- AUTO_INCREMENT for table `permission` -- ALTER TABLE `permission` MODIFY `permissionId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20; -- -- AUTO_INCREMENT for table `permissionentity` -- ALTER TABLE `permissionentity` MODIFY `entityId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; -- -- AUTO_INCREMENT for table `playlist` -- ALTER TABLE `playlist` MODIFY `playlistId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24; -- -- AUTO_INCREMENT for table `region` -- ALTER TABLE `region` MODIFY `regionId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24; -- -- AUTO_INCREMENT for table `requiredfile` -- ALTER TABLE `requiredfile` MODIFY `rfId` bigint(20) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `resolution` -- ALTER TABLE `resolution` MODIFY `resolutionID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; -- -- AUTO_INCREMENT for table `schedule` -- ALTER TABLE `schedule` MODIFY `eventID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `setting` -- ALTER TABLE `setting` MODIFY `settingid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=102; -- -- AUTO_INCREMENT for table `stat` -- ALTER TABLE `stat` MODIFY `statID` bigint(20) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `tag` -- ALTER TABLE `tag` MODIFY `tagId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `task` -- ALTER TABLE `task` MODIFY `taskId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `transition` -- ALTER TABLE `transition` MODIFY `TransitionID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `user` -- ALTER TABLE `user` MODIFY `UserID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `widget` -- ALTER TABLE `widget` MODIFY `widgetId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25; -- -- Constraints for dumped tables -- -- -- Limitadores para a tabela `blacklist` -- ALTER TABLE `blacklist` ADD CONSTRAINT `blacklist_ibfk_1` FOREIGN KEY (`MediaID`) REFERENCES `media` (`mediaID`), ADD CONSTRAINT `blacklist_ibfk_2` FOREIGN KEY (`DisplayID`) REFERENCES `display` (`displayid`); -- -- Limitadores para a tabela `campaign` -- ALTER TABLE `campaign` ADD CONSTRAINT `campaign_ibfk_1` FOREIGN KEY (`UserID`) REFERENCES `user` (`UserID`); -- -- Limitadores para a tabela `datasetcolumn` -- ALTER TABLE `datasetcolumn` ADD CONSTRAINT `datasetcolumn_ibfk_1` FOREIGN KEY (`DataSetID`) REFERENCES `dataset` (`DataSetID`); -- -- Limitadores para a tabela `lkcampaignlayout` -- ALTER TABLE `lkcampaignlayout` ADD CONSTRAINT `lkcampaignlayout_ibfk_1` FOREIGN KEY (`CampaignID`) REFERENCES `campaign` (`CampaignID`), ADD CONSTRAINT `lkcampaignlayout_ibfk_2` FOREIGN KEY (`LayoutID`) REFERENCES `layout` (`layoutID`); -- -- Limitadores para a tabela `lkdisplaydg` -- ALTER TABLE `lkdisplaydg` ADD CONSTRAINT `lkdisplaydg_ibfk_1` FOREIGN KEY (`DisplayGroupID`) REFERENCES `displaygroup` (`DisplayGroupID`), ADD CONSTRAINT `lkdisplaydg_ibfk_2` FOREIGN KEY (`DisplayID`) REFERENCES `display` (`displayid`); -- -- Limitadores para a tabela `lkusergroup` -- ALTER TABLE `lkusergroup` ADD CONSTRAINT `lkusergroup_ibfk_1` FOREIGN KEY (`GroupID`) REFERENCES `group` (`groupID`), ADD CONSTRAINT `lkusergroup_ibfk_2` FOREIGN KEY (`UserID`) REFERENCES `user` (`UserID`); -- -- Limitadores para a tabela `oauth_access_tokens` -- ALTER TABLE `oauth_access_tokens` ADD CONSTRAINT `oauth_access_tokens_ibfk_1` FOREIGN KEY (`session_id`) REFERENCES `oauth_sessions` (`id`) ON DELETE CASCADE; -- -- Limitadores para a tabela `oauth_access_token_scopes` -- ALTER TABLE `oauth_access_token_scopes` ADD CONSTRAINT `oauth_access_token_scopes_ibfk_1` FOREIGN KEY (`access_token`) REFERENCES `oauth_access_tokens` (`access_token`) ON DELETE CASCADE, ADD CONSTRAINT `oauth_access_token_scopes_ibfk_2` FOREIGN KEY (`scope`) REFERENCES `oauth_scopes` (`id`) ON DELETE CASCADE; -- -- Limitadores para a tabela `oauth_auth_codes` -- ALTER TABLE `oauth_auth_codes` ADD CONSTRAINT `oauth_auth_codes_ibfk_1` FOREIGN KEY (`session_id`) REFERENCES `oauth_sessions` (`id`) ON DELETE CASCADE; -- -- Limitadores para a tabela `oauth_auth_code_scopes` -- ALTER TABLE `oauth_auth_code_scopes` ADD CONSTRAINT `oauth_auth_code_scopes_ibfk_1` FOREIGN KEY (`auth_code`) REFERENCES `oauth_auth_codes` (`auth_code`) ON DELETE CASCADE, ADD CONSTRAINT `oauth_auth_code_scopes_ibfk_2` FOREIGN KEY (`scope`) REFERENCES `oauth_scopes` (`id`) ON DELETE CASCADE; -- -- Limitadores para a tabela `oauth_clients` -- ALTER TABLE `oauth_clients` ADD CONSTRAINT `oauth_clients_user_UserID_fk` FOREIGN KEY (`userId`) REFERENCES `user` (`UserID`) ON DELETE CASCADE; -- -- Limitadores para a tabela `oauth_client_scopes` -- ALTER TABLE `oauth_client_scopes` ADD CONSTRAINT `oauth_client_scopes_oauth_clients_id_fk` FOREIGN KEY (`clientId`) REFERENCES `oauth_clients` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `oauth_client_scopes_oauth_scopes_id_fk` FOREIGN KEY (`scopeId`) REFERENCES `oauth_scopes` (`id`) ON DELETE CASCADE; -- -- Limitadores para a tabela `oauth_refresh_tokens` -- ALTER TABLE `oauth_refresh_tokens` ADD CONSTRAINT `oauth_refresh_tokens_ibfk_1` FOREIGN KEY (`access_token`) REFERENCES `oauth_access_tokens` (`access_token`) ON DELETE CASCADE; -- -- Limitadores para a tabela `oauth_sessions` -- ALTER TABLE `oauth_sessions` ADD CONSTRAINT `oauth_sessions_ibfk_1` FOREIGN KEY (`client_id`) REFERENCES `oauth_clients` (`id`) ON DELETE CASCADE; -- -- Limitadores para a tabela `oauth_session_scopes` -- ALTER TABLE `oauth_session_scopes` ADD CONSTRAINT `oauth_session_scopes_ibfk_1` FOREIGN KEY (`session_id`) REFERENCES `oauth_sessions` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `oauth_session_scopes_ibfk_2` FOREIGN KEY (`scope`) REFERENCES `oauth_scopes` (`id`) ON DELETE CASCADE; -- -- Limitadores para a tabela `schedule` -- ALTER TABLE `schedule` ADD CONSTRAINT `schedule_ibfk_1` FOREIGN KEY (`CampaignID`) REFERENCES `campaign` (`CampaignID`); -- -- Limitadores para a tabela `user` -- ALTER TABLE `user` ADD CONSTRAINT `user_ibfk_2` FOREIGN KEY (`usertypeid`) REFERENCES `usertype` (`usertypeid`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;