~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to install/database/4.sql

  • Committer: Dan Garner
  • Date: 2015-09-29 15:16:59 UTC
  • mto: (454.2.11) (471.2.2)
  • mto: This revision was merged to the branch mainline in revision 468.
  • Revision ID: git-v1:ae24387a7b1397750b6ec86d0f286373da05eb16
Fixed Display Version Information Form (not showing media name)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
INSERT INTO `pages` (`pageID`, `name`, `pagegroupID`) VALUES (26, 'fault', '10');
 
2
 
 
3
INSERT INTO `menuitem` (`MenuItemID`, `MenuID`, `PageID`, `Args`, `Text`, `Class`, `Img`, `Sequence`) VALUES (NULL, '4', '26', NULL, 'Report Fault', NULL, NULL, '8');
 
4
 
 
5
INSERT INTO `setting` (
 
6
`settingid` ,
 
7
`setting` ,
 
8
`value` ,
 
9
`type` ,
 
10
`helptext` ,
 
11
`options` ,
 
12
`cat` ,
 
13
`userChange`
 
14
)
 
15
VALUES (
 
16
NULL , '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', 'error', '1'
 
17
);
 
18
 
 
19
INSERT INTO `resolution` (
 
20
`resolutionID` ,
 
21
`resolution` ,
 
22
`width` ,
 
23
`height`
 
24
)
 
25
VALUES (
 
26
NULL , '3:4 Monitor', '600', '800'
 
27
), (
 
28
NULL , '2:3 Tv', '480', '720'
 
29
), (
 
30
NULL , '10:16 Widescreen', '500', '800'
 
31
), (
 
32
NULL , '9:16 HD Widescreen', '450', '800'
 
33
);
 
34
 
 
35
 
 
36
INSERT INTO `template` (`template`, `xml`, `permissionID`, `userID`, `createdDT`, `modifiedDT`, `description`, `tags`, `thumbnail`, `isSystem`, `retired`) VALUES
 
37
('Portrait - 10:16', '<?xml version="1.0"?>\n<layout width="500" height="800" bgcolor="#000000" background="" schemaVersion="1"><region id="47ff2f524ae1b" width="500" height="800" top="0" left="0"/></layout>\n', 3, 1, '2008-01-01 01:00:00', '2008-01-01 01:00:00', '', '', NULL, 1, 0),
 
38
('Portrait - 9:16', '<?xml version="1.0"?>\n<layout width="450" height="800" bgcolor="#000000" background="" schemaVersion="1"><region id="47ff2f524be1b" width="450" height="800" top="0" left="0"/></layout>\n', 3, 1, '2008-01-01 01:00:00', '2008-01-01 01:00:00', '', '', NULL, 1, 0),
 
39
('Portrait - 3:4', '<?xml version="1.0"?>\n<layout width="600" height="800" bgcolor="#000000" background="" schemaVersion="1"><region id="47ff2f524ce1b" width="600" height="800" top="0" left="0"/></layout>\n', 3, 1, '2008-01-01 01:00:00', '2008-01-01 01:00:00', '', '', NULL, 1, 0),
 
40
('Portrait - 2:3', '<?xml version="1.0"?>\n<layout width="480" height="720" bgcolor="#000000" background="" schemaVersion="1"><region id="47ff2f524de1b" width="480" height="720" top="0" left="0"/></layout>\n', 3, 1, '2008-01-01 01:00:00', '2008-01-01 01:00:00', '', '', NULL, 1, 0);
 
41
 
 
42
ALTER TABLE `version` CHANGE `app_ver` `app_ver` VARCHAR(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
 
43
UPDATE `version` SET `app_ver` = '1.0.0-final';
 
44
UPDATE `setting` SET `value` = 0 WHERE `setting` = 'PHONE_HOME_DATE';
 
45
UPDATE `version` SET `DBVersion` = '4';