]>
Commit | Line | Data |
---|---|---|
f255c3e2 JR |
1 | -- MySQL dump 10.13 Distrib 5.5.27, for debian-linux-gnu (x86_64) |
2 | -- | |
3 | -- Host: localhost Database: dime_wos | |
4 | -- ------------------------------------------------------ | |
5 | -- Server version 5.5.27-1~dotdeb.0 | |
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 `apps` | |
20 | -- | |
21 | ||
22 | DROP TABLE IF EXISTS `apps`; | |
23 | /*!40101 SET @saved_cs_client = @@character_set_client */; | |
24 | /*!40101 SET character_set_client = utf8 */; | |
25 | CREATE TABLE `apps` ( | |
26 | `aid` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
27 | `appname` varchar(100) NOT NULL, | |
28 | `parent` int(10) unsigned NOT NULL, | |
29 | `filename` varchar(100) NOT NULL, | |
30 | `access` enum('user','operator','manager') NOT NULL DEFAULT 'user', | |
31 | PRIMARY KEY (`aid`), | |
32 | UNIQUE KEY `appname` (`appname`) | |
33 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |
34 | /*!40101 SET character_set_client = @saved_cs_client */; | |
35 | ||
36 | -- | |
37 | -- Dumping data for table `apps` | |
38 | -- | |
39 | ||
40 | LOCK TABLES `apps` WRITE; | |
41 | /*!40000 ALTER TABLE `apps` DISABLE KEYS */; | |
42 | /*!40000 ALTER TABLE `apps` ENABLE KEYS */; | |
43 | UNLOCK TABLES; | |
44 | ||
45 | -- | |
46 | -- Table structure for table `categories` | |
47 | -- | |
48 | ||
49 | DROP TABLE IF EXISTS `categories`; | |
50 | /*!40101 SET @saved_cs_client = @@character_set_client */; | |
51 | /*!40101 SET character_set_client = utf8 */; | |
52 | CREATE TABLE `categories` ( | |
53 | `cid` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
54 | `catname` varchar(100) NOT NULL, | |
55 | PRIMARY KEY (`cid`), | |
56 | UNIQUE KEY `catname` (`catname`) | |
57 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |
58 | /*!40101 SET character_set_client = @saved_cs_client */; | |
59 | ||
60 | -- | |
61 | -- Dumping data for table `categories` | |
62 | -- | |
63 | ||
64 | LOCK TABLES `categories` WRITE; | |
65 | /*!40000 ALTER TABLE `categories` DISABLE KEYS */; | |
66 | /*!40000 ALTER TABLE `categories` ENABLE KEYS */; | |
67 | UNLOCK TABLES; | |
68 | ||
69 | -- | |
70 | -- Table structure for table `session_apps` | |
71 | -- | |
72 | ||
73 | DROP TABLE IF EXISTS `session_apps`; | |
74 | /*!40101 SET @saved_cs_client = @@character_set_client */; | |
75 | /*!40101 SET character_set_client = utf8 */; | |
76 | CREATE TABLE `session_apps` ( | |
77 | `iid` bigint(20) unsigned NOT NULL AUTO_INCREMENT, | |
78 | `sid` int(10) unsigned NOT NULL, | |
79 | `aid` int(10) unsigned NOT NULL, | |
80 | PRIMARY KEY (`iid`) | |
81 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |
82 | /*!40101 SET character_set_client = @saved_cs_client */; | |
83 | ||
84 | -- | |
85 | -- Dumping data for table `session_apps` | |
86 | -- | |
87 | ||
88 | LOCK TABLES `session_apps` WRITE; | |
89 | /*!40000 ALTER TABLE `session_apps` DISABLE KEYS */; | |
90 | /*!40000 ALTER TABLE `session_apps` ENABLE KEYS */; | |
91 | UNLOCK TABLES; | |
92 | ||
93 | -- | |
94 | -- Table structure for table `sessions` | |
95 | -- | |
96 | ||
97 | DROP TABLE IF EXISTS `sessions`; | |
98 | /*!40101 SET @saved_cs_client = @@character_set_client */; | |
99 | /*!40101 SET character_set_client = utf8 */; | |
100 | CREATE TABLE `sessions` ( | |
101 | `sid` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
102 | `uid` int(10) unsigned NOT NULL, | |
103 | `started` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', | |
104 | `last` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | |
105 | `lockip` text NOT NULL, | |
106 | PRIMARY KEY (`sid`) | |
107 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |
108 | /*!40101 SET character_set_client = @saved_cs_client */; | |
109 | ||
110 | -- | |
111 | -- Dumping data for table `sessions` | |
112 | -- | |
113 | ||
114 | LOCK TABLES `sessions` WRITE; | |
115 | /*!40000 ALTER TABLE `sessions` DISABLE KEYS */; | |
116 | /*!40000 ALTER TABLE `sessions` ENABLE KEYS */; | |
117 | UNLOCK TABLES; | |
118 | ||
119 | -- | |
120 | -- Table structure for table `users` | |
121 | -- | |
122 | ||
123 | DROP TABLE IF EXISTS `users`; | |
124 | /*!40101 SET @saved_cs_client = @@character_set_client */; | |
125 | /*!40101 SET character_set_client = utf8 */; | |
126 | CREATE TABLE `users` ( | |
127 | `uid` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
128 | `username` varchar(15) NOT NULL, | |
129 | `password` char(40) NOT NULL, | |
130 | `salt` char(5) NOT NULL, | |
131 | `display_name` varchar(100) NOT NULL, | |
132 | `level` enum('user','operator','manager') NOT NULL DEFAULT 'user', | |
133 | PRIMARY KEY (`uid`) | |
134 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |
135 | /*!40101 SET character_set_client = @saved_cs_client */; | |
136 | ||
137 | -- | |
138 | -- Dumping data for table `users` | |
139 | -- | |
140 | ||
141 | LOCK TABLES `users` WRITE; | |
142 | /*!40000 ALTER TABLE `users` DISABLE KEYS */; | |
143 | /*!40000 ALTER TABLE `users` ENABLE KEYS */; | |
144 | UNLOCK TABLES; | |
145 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; | |
146 | ||
147 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; | |
148 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; | |
149 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; | |
150 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; | |
151 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; | |
152 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; | |
153 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; | |
154 | ||
155 | -- Dump completed on 2012-10-11 11:19:30 |