]> jfr.im git - z_archive/KronOS.git/blame - dump.sql
RELEASE added
[z_archive/KronOS.git] / dump.sql
CommitLineData
9efefde7
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
7197d0fc
JR
18--
19-- Table structure for table `apps`
20--
21
22DROP TABLE IF EXISTS `apps`;
23/*!40101 SET @saved_cs_client = @@character_set_client */;
24/*!40101 SET character_set_client = utf8 */;
25CREATE 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
40LOCK TABLES `apps` WRITE;
41/*!40000 ALTER TABLE `apps` DISABLE KEYS */;
42/*!40000 ALTER TABLE `apps` ENABLE KEYS */;
43UNLOCK TABLES;
44
45--
46-- Table structure for table `categories`
47--
48
49DROP TABLE IF EXISTS `categories`;
50/*!40101 SET @saved_cs_client = @@character_set_client */;
51/*!40101 SET character_set_client = utf8 */;
52CREATE 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
64LOCK TABLES `categories` WRITE;
65/*!40000 ALTER TABLE `categories` DISABLE KEYS */;
66/*!40000 ALTER TABLE `categories` ENABLE KEYS */;
67UNLOCK TABLES;
68
69--
70-- Table structure for table `session_apps`
71--
72
73DROP TABLE IF EXISTS `session_apps`;
74/*!40101 SET @saved_cs_client = @@character_set_client */;
75/*!40101 SET character_set_client = utf8 */;
76CREATE 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
88LOCK TABLES `session_apps` WRITE;
89/*!40000 ALTER TABLE `session_apps` DISABLE KEYS */;
90/*!40000 ALTER TABLE `session_apps` ENABLE KEYS */;
91UNLOCK TABLES;
92
9efefde7
JR
93--
94-- Table structure for table `sessions`
95--
96
97DROP TABLE IF EXISTS `sessions`;
98/*!40101 SET @saved_cs_client = @@character_set_client */;
99/*!40101 SET character_set_client = utf8 */;
100CREATE TABLE `sessions` (
101 `sid` int(10) unsigned NOT NULL AUTO_INCREMENT,
102 `uid` int(10) unsigned NOT NULL,
becf6bfe
JR
103 `started` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
104 `last` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
9efefde7
JR
105 `active` tinyint(1) NOT NULL DEFAULT '1',
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
114LOCK TABLES `sessions` WRITE;
115/*!40000 ALTER TABLE `sessions` DISABLE KEYS */;
116/*!40000 ALTER TABLE `sessions` ENABLE KEYS */;
117UNLOCK TABLES;
118
119--
120-- Table structure for table `users`
121--
122
123DROP TABLE IF EXISTS `users`;
124/*!40101 SET @saved_cs_client = @@character_set_client */;
125/*!40101 SET character_set_client = utf8 */;
126CREATE TABLE `users` (
127 `uid` int(10) unsigned NOT NULL AUTO_INCREMENT,
128 `username` varchar(15) NOT NULL,
129 `password` char(40) NOT NULL,
7197d0fc
JR
130 `displayname` varchar(100) NOT NULL,
131 `access` enum('user','operator','manager') NOT NULL DEFAULT 'user',
9efefde7 132 PRIMARY KEY (`uid`)
7197d0fc 133) ENGINE=InnoDB DEFAULT CHARSET=latin1;
9efefde7
JR
134/*!40101 SET character_set_client = @saved_cs_client */;
135
136--
137-- Dumping data for table `users`
138--
139
140LOCK TABLES `users` WRITE;
141/*!40000 ALTER TABLE `users` DISABLE KEYS */;
142/*!40000 ALTER TABLE `users` ENABLE KEYS */;
143UNLOCK TABLES;
144/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
145
146/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
147/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
148/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
149/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
150/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
151/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
152/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
153
7197d0fc 154-- Dump completed on 2012-10-11 11:19:30