~alexharrington/xibo/pyclient-1.1.0a22

« back to all changes in this revision

Viewing changes to server/install/database/21.sql

  • Committer: Alex Harrington
  • Date: 2009-03-02 17:27:19 UTC
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: alex@longhill.org.uk-20090302172719-7qigtqo1mjydo4b3
[core] Created folder to hold code used for central services to Xibo instances

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';