]>
jfr.im git - z_archive/KronOS.git/blob - dump.sql
1 -- MySQL dump 10.13 Distrib 5.5.27, for debian-linux-gnu (x86_64)
3 -- Host: localhost Database: dime_wos
4 -- ------------------------------------------------------
5 -- Server version 5.5.27-1~dotdeb.0
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 */;
19 -- Table structure for table `apps`
22 DROP TABLE IF EXISTS `apps`
;
23 /*!40101 SET @saved_cs_client = @@character_set_client */;
24 /*!40101 SET character_set_client = utf8 */;
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',
33 UNIQUE KEY `appname`
(`appname`
)
34 ) ENGINE
=InnoDB AUTO_INCREMENT
=4 DEFAULT CHARSET
=latin1
;
35 /*!40101 SET character_set_client = @saved_cs_client */;
38 -- Dumping data for table `apps`
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 */;
48 -- Table structure for table `categories`
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,
58 UNIQUE KEY `catname`
(`catname`
)
59 ) ENGINE
=InnoDB AUTO_INCREMENT
=2 DEFAULT CHARSET
=latin1
;
60 /*!40101 SET character_set_client = @saved_cs_client */;
63 -- Dumping data for table `categories`
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 */;
73 -- Table structure for table `session_apps`
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,
84 ) ENGINE
=InnoDB
DEFAULT CHARSET
=latin1
;
85 /*!40101 SET character_set_client = @saved_cs_client */;
88 -- Dumping data for table `session_apps`
91 LOCK TABLES `session_apps`
WRITE;
92 /*!40000 ALTER TABLE `session_apps` DISABLE KEYS */;
93 /*!40000 ALTER TABLE `session_apps` ENABLE KEYS */;
97 -- Table structure for table `sessions`
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,
110 ) ENGINE
=InnoDB
DEFAULT CHARSET
=latin1
;
111 /*!40101 SET character_set_client = @saved_cs_client */;
114 -- Dumping data for table `sessions`
117 LOCK TABLES `sessions`
WRITE;
118 /*!40000 ALTER TABLE `sessions` DISABLE KEYS */;
119 /*!40000 ALTER TABLE `sessions` ENABLE KEYS */;
123 -- Table structure for table `users`
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',
137 ) ENGINE
=InnoDB
DEFAULT CHARSET
=latin1
;
138 /*!40101 SET character_set_client = @saved_cs_client */;
141 -- Dumping data for table `users`
144 LOCK TABLES `users`
WRITE;
145 /*!40000 ALTER TABLE `users` DISABLE KEYS */;
146 /*!40000 ALTER TABLE `users` ENABLE KEYS */;
148 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
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 */;
158 -- Dump completed on 2012-10-27 16:31:07