web/MTrackWeb/DataObjects/schema.sql
authorAlan Knowles <alan@akkbhome.com>
Sat, 5 Mar 2011 09:37:23 +0000 (17:37 +0800)
committerAlan Knowles <alan@akkbhome.com>
Sat, 5 Mar 2011 09:37:23 +0000 (17:37 +0800)
web/MTrackWeb/DataObjects/schema.sql

index 006ea44..928472a 100644 (file)
@@ -3,11 +3,8 @@
  * Schema definition - do not modify the create tables, just add alter lines
  * The Schema parser should do the rest.
 */
-
--- Table structure for table `acl`
  
 DROP TABLE acl;
--- Table structure for table `attachments`
 DROP TABLE attachments;
 
 
@@ -49,7 +46,7 @@ CREATE TABLE `clcache` (
 
 -- Table structure for table `components`
 
-Drop table components; 
+DROP TABLE components; 
 
 -- Table structure for table `components_by_project`
 
@@ -61,32 +58,9 @@ CREATE TABLE `components_by_project` (
 
 -- Table structure for table `effort`
 
-CREATE TABLE `effort` (
-  `eid` int(11) NOT NULL AUTO_INCREMENT,
-  `tid` char(32) NOT NULL,
-  `cid` int(11) NOT NULL,
-  `expended` double DEFAULT NULL,
-  `remaining` double DEFAULT NULL,
-  PRIMARY KEY (`eid`)
-);
-
--- Table structure for table `group_membership`
-
-CREATE TABLE `group_membership` (
-  `groupname` varchar(128) NOT NULL,
-  `project` int(11) NOT NULL,
-  `username` varchar(128) NOT NULL,
-  PRIMARY KEY (`groupname`,`project`,`username`)
-);
-
--- Table structure for table `groups`
-
-CREATE TABLE `groups` (
-  `name` varchar(128) NOT NULL,
-  `project` int(11) NOT NULL,
-  PRIMARY KEY (`name`,`project`)
-) ;
-
+DROP TABLE effort; 
+DROP TABLE group_membership; 
+DROP TABLE groups; 
 -- Table structure for table `keywords`
 
 CREATE TABLE `keywords` (