]> jfr.im git - z_archive/KronOS.git/blob - dump.sql
Fixing dump.sql, needs updates since last commit
[z_archive/KronOS.git] / dump.sql
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 `classname` varchar(100) NOT NULL,
29 `parent` int(10) unsigned NOT NULL,
30 `filename` varchar(100) NOT NULL,
31 `access` enum('user','operator','manager') NOT NULL DEFAULT 'user',
32 PRIMARY KEY (`aid`),
33 UNIQUE KEY `appname` (`appname`)
34 ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
35 /*!40101 SET character_set_client = @saved_cs_client */;
36
37 --
38 -- Dumping data for table `apps`
39 --
40
41 LOCK TABLES `apps` WRITE;
42 /*!40000 ALTER TABLE `apps` DISABLE KEYS */;
43 INSERT INTO `apps` VALUES (1,'App Zone','App_Zone',1,'core/appzone.php','manager'),(2,'User Manager','User_Manager',1,'core/users.php','operator'),(3,'App Settings','App_Settings_Manager',1,'core/appsetup.php','operator');
44 /*!40000 ALTER TABLE `apps` ENABLE KEYS */;
45 UNLOCK TABLES;
46
47 --
48 -- Table structure for table `categories`
49 --
50
51 DROP TABLE IF EXISTS `categories`;
52 /*!40101 SET @saved_cs_client = @@character_set_client */;
53 /*!40101 SET character_set_client = utf8 */;
54 CREATE TABLE `categories` (
55 `cid` int(10) unsigned NOT NULL AUTO_INCREMENT,
56 `catname` varchar(100) NOT NULL,
57 PRIMARY KEY (`cid`),
58 UNIQUE KEY `catname` (`catname`)
59 ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
60 /*!40101 SET character_set_client = @saved_cs_client */;
61
62 --
63 -- Dumping data for table `categories`
64 --
65
66 LOCK TABLES `categories` WRITE;
67 /*!40000 ALTER TABLE `categories` DISABLE KEYS */;
68 INSERT INTO `categories` VALUES (1,'Administration');
69 /*!40000 ALTER TABLE `categories` ENABLE KEYS */;
70 UNLOCK TABLES;
71
72 --
73 -- Table structure for table `session_apps`
74 --
75
76 DROP TABLE IF EXISTS `session_apps`;
77 /*!40101 SET @saved_cs_client = @@character_set_client */;
78 /*!40101 SET character_set_client = utf8 */;
79 CREATE TABLE `session_apps` (
80 `iid` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
81 `sid` int(10) unsigned NOT NULL,
82 `aid` int(10) unsigned NOT NULL,
83 PRIMARY KEY (`iid`)
84 ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
85 /*!40101 SET character_set_client = @saved_cs_client */;
86
87 --
88 -- Dumping data for table `session_apps`
89 --
90
91 LOCK TABLES `session_apps` WRITE;
92 /*!40000 ALTER TABLE `session_apps` DISABLE KEYS */;
93 /*!40000 ALTER TABLE `session_apps` ENABLE KEYS */;
94 UNLOCK TABLES;
95
96 --
97 -- Table structure for table `sessions`
98 --
99
100 DROP TABLE IF EXISTS `sessions`;
101 /*!40101 SET @saved_cs_client = @@character_set_client */;
102 /*!40101 SET character_set_client = utf8 */;
103 CREATE TABLE `sessions` (
104 `sid` int(10) unsigned NOT NULL AUTO_INCREMENT,
105 `uid` int(10) unsigned NOT NULL,
106 `started` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
107 `last` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
108 `lockip` text NOT NULL,
109 PRIMARY KEY (`sid`)
110 ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
111 /*!40101 SET character_set_client = @saved_cs_client */;
112
113 --
114 -- Dumping data for table `sessions`
115 --
116
117 LOCK TABLES `sessions` WRITE;
118 /*!40000 ALTER TABLE `sessions` DISABLE KEYS */;
119 /*!40000 ALTER TABLE `sessions` ENABLE KEYS */;
120 UNLOCK TABLES;
121
122 --
123 -- Table structure for table `users`
124 --
125
126 DROP TABLE IF EXISTS `users`;
127 /*!40101 SET @saved_cs_client = @@character_set_client */;
128 /*!40101 SET character_set_client = utf8 */;
129 CREATE TABLE `users` (
130 `uid` int(10) unsigned NOT NULL AUTO_INCREMENT,
131 `username` varchar(15) NOT NULL,
132 `password` char(40) NOT NULL,
133 `salt` char(5) NOT NULL,
134 `display_name` varchar(100) NOT NULL,
135 `level` enum('user','operator','manager') NOT NULL DEFAULT 'user',
136 PRIMARY KEY (`uid`)
137 ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
138 /*!40101 SET character_set_client = @saved_cs_client */;
139
140 --
141 -- Dumping data for table `users`
142 --
143
144 LOCK TABLES `users` WRITE;
145 /*!40000 ALTER TABLE `users` DISABLE KEYS */;
146 /*!40000 ALTER TABLE `users` ENABLE KEYS */;
147 UNLOCK TABLES;
148 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
149
150 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
151 /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
152 /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
153 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
154 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
155 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
156 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
157
158 -- Dump completed on 2012-10-27 16:31:07