1 | -- MySQL dump 10.13 Distrib 5.1.41, for debian-linux-gnu (i486)
|
---|
2 | --
|
---|
3 | -- Host: localhost Database: newScheduler
|
---|
4 | -- ------------------------------------------------------
|
---|
5 | -- Server version 5.1.41-3ubuntu12.10
|
---|
6 |
|
---|
7 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
---|
8 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
---|
9 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
---|
10 | /*!40101 SET NAMES utf8 */;
|
---|
11 | /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
---|
12 | /*!40103 SET TIME_ZONE='+00:00' */;
|
---|
13 | /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
---|
14 | /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
---|
15 | /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
---|
16 | /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
---|
17 |
|
---|
18 | --
|
---|
19 | -- Table structure for table `permission`
|
---|
20 | --
|
---|
21 |
|
---|
22 | DROP TABLE IF EXISTS `permission`;
|
---|
23 | /*!40101 SET @saved_cs_client = @@character_set_client */;
|
---|
24 | /*!40101 SET character_set_client = utf8 */;
|
---|
25 | CREATE TABLE `permission` (
|
---|
26 | `username` char(16) NOT NULL DEFAULT '',
|
---|
27 | `machid` char(16) NOT NULL DEFAULT '',
|
---|
28 | PRIMARY KEY (`username`,`machid`),
|
---|
29 | KEY `per_memberid` (`username`),
|
---|
30 | KEY `per_machid` (`machid`)
|
---|
31 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
---|
32 | /*!40101 SET character_set_client = @saved_cs_client */;
|
---|
33 |
|
---|
34 | --
|
---|
35 | -- Table structure for table `reservation_users`
|
---|
36 | --
|
---|
37 |
|
---|
38 | DROP TABLE IF EXISTS `reservation_users`;
|
---|
39 | /*!40101 SET @saved_cs_client = @@character_set_client */;
|
---|
40 | /*!40101 SET character_set_client = utf8 */;
|
---|
41 | CREATE TABLE `reservation_users` (
|
---|
42 | `resid` char(16) NOT NULL DEFAULT '',
|
---|
43 | `username` char(16) NOT NULL DEFAULT '',
|
---|
44 | `owner` smallint(1) DEFAULT NULL,
|
---|
45 | `invited` smallint(1) DEFAULT NULL,
|
---|
46 | `perm_modify` smallint(1) DEFAULT NULL,
|
---|
47 | `perm_delete` smallint(1) DEFAULT NULL,
|
---|
48 | `accept_code` char(16) DEFAULT NULL,
|
---|
49 | PRIMARY KEY (`resid`,`username`),
|
---|
50 | KEY `resusers_resid` (`resid`),
|
---|
51 | KEY `resusers_memberid` (`username`),
|
---|
52 | KEY `resusers_owner` (`owner`)
|
---|
53 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
---|
54 | /*!40101 SET character_set_client = @saved_cs_client */;
|
---|
55 |
|
---|
56 | --
|
---|
57 | -- Table structure for table `reservations`
|
---|
58 | --
|
---|
59 |
|
---|
60 | DROP TABLE IF EXISTS `reservations`;
|
---|
61 | /*!40101 SET @saved_cs_client = @@character_set_client */;
|
---|
62 | /*!40101 SET character_set_client = utf8 */;
|
---|
63 | CREATE TABLE `reservations` (
|
---|
64 | `resid` varchar(16) NOT NULL DEFAULT '',
|
---|
65 | `machid` varchar(16) NOT NULL DEFAULT '',
|
---|
66 | `start_date` int(11) NOT NULL DEFAULT '0',
|
---|
67 | `end_date` int(11) NOT NULL DEFAULT '0',
|
---|
68 | `startTime` int(11) NOT NULL DEFAULT '0',
|
---|
69 | `endTime` int(11) NOT NULL DEFAULT '0',
|
---|
70 | `created` int(11) NOT NULL DEFAULT '0',
|
---|
71 | `modified` int(11) DEFAULT NULL,
|
---|
72 | `parentid` varchar(16) DEFAULT NULL,
|
---|
73 | `is_blackout` smallint(1) NOT NULL DEFAULT '0',
|
---|
74 | `is_pending` smallint(1) NOT NULL DEFAULT '0',
|
---|
75 | `summary` text,
|
---|
76 | PRIMARY KEY (`resid`),
|
---|
77 | KEY `res_resid` (`resid`),
|
---|
78 | KEY `res_machid` (`machid`),
|
---|
79 | KEY `reservations_startdate` (`start_date`),
|
---|
80 | KEY `reservations_enddate` (`end_date`),
|
---|
81 | KEY `res_startTime` (`startTime`),
|
---|
82 | KEY `res_endTime` (`endTime`),
|
---|
83 | KEY `res_created` (`created`),
|
---|
84 | KEY `res_modified` (`modified`),
|
---|
85 | KEY `res_parentid` (`parentid`),
|
---|
86 | KEY `res_isblackout` (`is_blackout`),
|
---|
87 | KEY `reservations_pending` (`is_pending`)
|
---|
88 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
---|
89 | /*!40101 SET character_set_client = @saved_cs_client */;
|
---|
90 |
|
---|
91 | --
|
---|
92 | -- Table structure for table `resources`
|
---|
93 | --
|
---|
94 |
|
---|
95 | DROP TABLE IF EXISTS `resources`;
|
---|
96 | /*!40101 SET @saved_cs_client = @@character_set_client */;
|
---|
97 | /*!40101 SET character_set_client = utf8 */;
|
---|
98 | CREATE TABLE `resources` (
|
---|
99 | `machid` varchar(16) NOT NULL DEFAULT '',
|
---|
100 | `name` varchar(75) NOT NULL DEFAULT '',
|
---|
101 | `location` varchar(250) DEFAULT NULL,
|
---|
102 | `rphone` varchar(16) DEFAULT NULL,
|
---|
103 | `notes` text,
|
---|
104 | `status` char(1) NOT NULL DEFAULT 'a',
|
---|
105 | `minRes` int(11) NOT NULL DEFAULT '0',
|
---|
106 | `maxRes` int(11) NOT NULL DEFAULT '0',
|
---|
107 | `autoAssign` smallint(1) DEFAULT NULL,
|
---|
108 | `approval` smallint(1) DEFAULT NULL,
|
---|
109 | `allow_multi` smallint(1) DEFAULT NULL,
|
---|
110 | `permission` varchar(75) DEFAULT NULL,
|
---|
111 | PRIMARY KEY (`machid`),
|
---|
112 | KEY `rs_machid` (`machid`),
|
---|
113 | KEY `rs_name` (`name`),
|
---|
114 | KEY `rs_status` (`status`)
|
---|
115 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
---|
116 | /*!40101 SET character_set_client = @saved_cs_client */;
|
---|
117 |
|
---|
118 | --
|
---|
119 | -- Table structure for table `tgroup`
|
---|
120 | --
|
---|
121 |
|
---|
122 | DROP TABLE IF EXISTS `tgroup`;
|
---|
123 | /*!40101 SET @saved_cs_client = @@character_set_client */;
|
---|
124 | /*!40101 SET character_set_client = utf8 */;
|
---|
125 | CREATE TABLE `tgroup` (
|
---|
126 | `username` text,
|
---|
127 | `groupname` text,
|
---|
128 | `isactive` int(11) DEFAULT NULL,
|
---|
129 | `firstname` text,
|
---|
130 | `lastname` text,
|
---|
131 | `organization` text,
|
---|
132 | `email` text,
|
---|
133 | `phone` text,
|
---|
134 | `address` text,
|
---|
135 | `category` text,
|
---|
136 | `destinationIndicator` text,
|
---|
137 | `deleted` int(11) DEFAULT NULL
|
---|
138 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
---|
139 | /*!40101 SET character_set_client = @saved_cs_client */;
|
---|
140 |
|
---|
141 | --
|
---|
142 | -- Table structure for table `tpassword`
|
---|
143 | --
|
---|
144 |
|
---|
145 | DROP TABLE IF EXISTS `tpassword`;
|
---|
146 | /*!40101 SET @saved_cs_client = @@character_set_client */;
|
---|
147 | /*!40101 SET character_set_client = utf8 */;
|
---|
148 | CREATE TABLE `tpassword` (
|
---|
149 | `username` text,
|
---|
150 | `oldpassword` text
|
---|
151 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
---|
152 | /*!40101 SET character_set_client = @saved_cs_client */;
|
---|
153 |
|
---|
154 | --
|
---|
155 | -- Table structure for table `tuser`
|
---|
156 | --
|
---|
157 |
|
---|
158 | DROP TABLE IF EXISTS `tuser`;
|
---|
159 | /*!40101 SET @saved_cs_client = @@character_set_client */;
|
---|
160 | /*!40101 SET character_set_client = utf8 */;
|
---|
161 | CREATE TABLE `tuser` (
|
---|
162 | `username` text,
|
---|
163 | `isactive` int(11) DEFAULT NULL,
|
---|
164 | `isadmin` int(11) DEFAULT NULL,
|
---|
165 | `firstname` text,
|
---|
166 | `lastname` text,
|
---|
167 | `organization` text,
|
---|
168 | `email` text,
|
---|
169 | `phone` text,
|
---|
170 | `groupname` text,
|
---|
171 | `gidNumber` text,
|
---|
172 | `admin` text,
|
---|
173 | `destinationIndicator` text,
|
---|
174 | `comment` text,
|
---|
175 | `deleted` int(11) DEFAULT NULL,
|
---|
176 | `enabled` int(11) DEFAULT NULL
|
---|
177 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
---|
178 | /*!40101 SET character_set_client = @saved_cs_client */;
|
---|
179 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
---|
180 |
|
---|
181 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
---|
182 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
---|
183 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
---|
184 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
---|
185 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
---|
186 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
---|
187 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
---|
188 |
|
---|
189 | -- Dump completed on 2011-07-20 12:31:39
|
---|