From 1b6919252746b7f853317ffc77f28215525f034b Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Tue, 20 Dec 2011 21:51:30 +0000 Subject: [PATCH] Fixed issues with db schema files --- build/schema/mysql.demo.sql | 9 ++++----- build/schema/mysql.sql | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/build/schema/mysql.demo.sql b/build/schema/mysql.demo.sql index bf4605f..fc40a6c 100644 --- a/build/schema/mysql.demo.sql +++ b/build/schema/mysql.demo.sql @@ -77,7 +77,6 @@ INSERT INTO `group` (`id`, `name`, `description`) VALUES -- INSERT INTO `usergroup` (`id`, `user`, `group`, `added`) VALUES -(1, 1, 1, 1324211572), (2, 2, 2, 1324211572); -- @@ -85,15 +84,15 @@ INSERT INTO `usergroup` (`id`, `user`, `group`, `added`) VALUES -- INSERT INTO `permission` (`id`, `name`, `description`) VALUES -(2, 'Update Status Boards', 'Permission to add/edit/delete any service or site.'); +(2, 'Update Status Boards', 'Permission to add/edit/delete any service or site.'), (3, 'Update Incidents', 'Permission to create and update the status of any incident.'), -(4, 'View Status Boards', 'Permission to view the status of all services and sites, and details of any incident.'), +(4, 'View Status Boards', 'Permission to view the status of all services and sites, and details of any incident.'); -- --- Dumping data for table `grouppermissions` +-- Dumping data for table `grouppermission` -- -INSERT INTO `grouppermissions` (`id`, `group`, `permission`, `added`) VALUES +INSERT INTO `grouppermission` (`id`, `group`, `permission`, `added`) VALUES (2, 1, 2, 1324211935), (3, 1, 3, 1324211935), (4, 1, 4, 1324211935), diff --git a/build/schema/mysql.sql b/build/schema/mysql.sql index c1e538b..41205a4 100644 --- a/build/schema/mysql.sql +++ b/build/schema/mysql.sql @@ -302,7 +302,7 @@ INSERT INTO `permission` (`id`, `name`, `description`) VALUES -- --- Table structure for table `grouppermissions` +-- Table structure for table `grouppermission` -- DROP TABLE IF EXISTS `grouppermission`; @@ -318,7 +318,7 @@ CREATE TABLE IF NOT EXISTS `grouppermission` ( -- Dumping data for table `grouppermissions` -- -INSERT INTO `grouppermissions` (`id`, `group`, `permission`, `added`) VALUES +INSERT INTO `grouppermission` (`id`, `group`, `permission`, `added`) VALUES (1, 1, 1, 1324211935); --