]> jfr.im git - z_archive/KronOS.git/blame - dump.sql
Ignoring .htaccess
[z_archive/KronOS.git] / dump.sql
CommitLineData
342d13af 1-- MySQL dump 10.13 Distrib 5.1.72, for debian-linux-gnu (i486)
f255c3e2 2--
342d13af 3-- Host: localhost Database: kosjrunyon
f255c3e2 4-- ------------------------------------------------------
342d13af 5-- Server version 5.1.72-2
f255c3e2
JR
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
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,
9fde3326 28 `classname` varchar(100) NOT NULL,
f255c3e2
JR
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`)
342d13af 34) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
f255c3e2
JR
35/*!40101 SET character_set_client = @saved_cs_client */;
36
37--
38-- Dumping data for table `apps`
39--
40
41LOCK TABLES `apps` WRITE;
42/*!40000 ALTER TABLE `apps` DISABLE KEYS */;
342d13af 43INSERT INTO `apps` VALUES (1,'App Zone','App_Zone',2,'appzone.php','manager'),(2,'User Manager','User_Manager',2,'users.php','operator'),(3,'App Settings','App_Settings_Manager',2,'appsetup.php','operator');
f255c3e2
JR
44/*!40000 ALTER TABLE `apps` ENABLE KEYS */;
45UNLOCK TABLES;
46
47--
48-- Table structure for table `categories`
49--
50
51DROP TABLE IF EXISTS `categories`;
52/*!40101 SET @saved_cs_client = @@character_set_client */;
53/*!40101 SET character_set_client = utf8 */;
54CREATE 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`)
342d13af 59) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
f255c3e2
JR
60/*!40101 SET character_set_client = @saved_cs_client */;
61
62--
63-- Dumping data for table `categories`
64--
65
66LOCK TABLES `categories` WRITE;
67/*!40000 ALTER TABLE `categories` DISABLE KEYS */;
342d13af 68INSERT INTO `categories` VALUES (1,'System'),(2,'Administration');
f255c3e2
JR
69/*!40000 ALTER TABLE `categories` ENABLE KEYS */;
70UNLOCK TABLES;
71
72--
73-- Table structure for table `session_apps`
74--
75
76DROP TABLE IF EXISTS `session_apps`;
77/*!40101 SET @saved_cs_client = @@character_set_client */;
78/*!40101 SET character_set_client = utf8 */;
79CREATE 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`)
342d13af 84) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
f255c3e2
JR
85/*!40101 SET character_set_client = @saved_cs_client */;
86
87--
88-- Dumping data for table `session_apps`
89--
90
91LOCK TABLES `session_apps` WRITE;
92/*!40000 ALTER TABLE `session_apps` DISABLE KEYS */;
93/*!40000 ALTER TABLE `session_apps` ENABLE KEYS */;
94UNLOCK TABLES;
95
96--
97-- Table structure for table `sessions`
98--
99
100DROP TABLE IF EXISTS `sessions`;
101/*!40101 SET @saved_cs_client = @@character_set_client */;
102/*!40101 SET character_set_client = utf8 */;
103CREATE 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`)
342d13af 110) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
f255c3e2
JR
111/*!40101 SET character_set_client = @saved_cs_client */;
112
113--
114-- Dumping data for table `sessions`
115--
116
117LOCK TABLES `sessions` WRITE;
118/*!40000 ALTER TABLE `sessions` DISABLE KEYS */;
119/*!40000 ALTER TABLE `sessions` ENABLE KEYS */;
120UNLOCK TABLES;
121
122--
123-- Table structure for table `users`
124--
125
126DROP TABLE IF EXISTS `users`;
127/*!40101 SET @saved_cs_client = @@character_set_client */;
128/*!40101 SET character_set_client = utf8 */;
129CREATE 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`)
342d13af 137) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
f255c3e2
JR
138/*!40101 SET character_set_client = @saved_cs_client */;
139
140--
141-- Dumping data for table `users`
142--
143
144LOCK TABLES `users` WRITE;
145/*!40000 ALTER TABLE `users` DISABLE KEYS */;
342d13af 146INSERT INTO `users` VALUES (1,'manager',SHA1('saltdiManager'),'saltd','Manager','manager'); -- Password will be "iManager"
f255c3e2
JR
147/*!40000 ALTER TABLE `users` ENABLE KEYS */;
148UNLOCK TABLES;
149/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
150
151/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
152/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
153/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
154/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
155/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
156/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
157/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
158
342d13af 159-- Dump completed on 2013-11-01 3:43:00