~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to install/database/21.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
 
 
2
/* Will need to create a permission record for each display group against each display - so it remains as it is now (all users have permission to assign to all displays). */
 
3
INSERT INTO lkgroupdg (DisplayGroupID, GroupID)
 
4
SELECT displaygroup.DisplayGroupID, `group`.GroupID
 
5
FROM displaygroup
 
6
CROSS JOIN `group`;
 
7
 
 
8
/* Request URI is too short of passing a lot of parameters in GET. Maybe we should use POST more? */
 
9
ALTER TABLE `log` CHANGE `RequestUri` `RequestUri` VARCHAR( 2000 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
 
10
 
 
11
/* Remove the groupID from the user record. */
 
12
ALTER TABLE `user` DROP FOREIGN KEY `user_ibfk_3` ;
 
13
 
 
14
ALTER TABLE `user` DROP `groupID` ;
 
15
 
 
16
/* VERSION UPDATE */
 
17
/* Set the version table, etc */
 
18
UPDATE `setting` SET `value` = 0 WHERE `setting` = 'PHONE_HOME_DATE';
 
19
UPDATE `version` SET `DBVersion` = '21';