3 -- http://www.phpmyadmin.net
6 -- Generation Time: Apr 09, 2005 at 01:25 AM
7 -- Server version: 4.0.24
8 -- PHP Version: 4.3.10-10
10 -- Database: `diogenes`
13 -- --------------------------------------------------------
16 -- Table structure for table `diogenes_auth`
19 CREATE TABLE `diogenes_auth`
(
20 `user_id`
int(10) unsigned
NOT NULL auto_increment
,
21 `username`
varchar(32) NOT NULL default '',
22 `firstname`
varchar(127) NOT NULL default '',
23 `lastname`
varchar(127) NOT NULL default '',
24 `
password`
varchar(32) NOT NULL default '',
25 `perms`
enum('user','admin') NOT NULL default 'user',
26 `email`
varchar(255) NOT NULL default '',
27 PRIMARY KEY (`user_id`
),
28 UNIQUE KEY `username`
(`username`
)
31 -- --------------------------------------------------------
34 -- Table structure for table `diogenes_logactions`
37 CREATE TABLE `diogenes_logactions`
(
38 `
id`
int(2) NOT NULL auto_increment
,
39 `
text`
varchar(32) NOT NULL default '',
40 `description`
varchar(255) NOT NULL default '',
44 -- --------------------------------------------------------
47 -- Table structure for table `diogenes_logevents`
50 CREATE TABLE `diogenes_logevents`
(
51 `stamp`
timestamp(14) NOT NULL,
52 `
session`
int(6) NOT NULL default '0',
53 `
action`
int(2) NOT NULL default '0',
54 `
data`
varchar(255) NOT NULL default '',
55 KEY `
session`
(`
session`
)
58 -- --------------------------------------------------------
61 -- Table structure for table `diogenes_logsessions`
64 CREATE TABLE `diogenes_logsessions`
(
65 `
id`
int(10) unsigned
NOT NULL auto_increment
,
66 `auth`
enum('native','external') NOT NULL default 'native',
67 `uid`
int(10) unsigned
NOT NULL default '0',
68 `
start`
timestamp(14) NOT NULL,
69 `ip`
varchar(64) NOT NULL default '',
70 `
host`
varchar(128) NOT NULL default '',
71 `sauth`
enum('native','external') NOT NULL default 'native',
72 `suid`
int(10) unsigned
NOT NULL default '0',
73 `browser`
varchar(255) NOT NULL default '',
79 -- --------------------------------------------------------
82 -- Table structure for table `diogenes_option`
85 CREATE TABLE `diogenes_option`
(
86 `barrel`
VARCHAR( 16 ) NOT NULL default '',
87 `
name`
varchar(32) NOT NULL default '',
88 `
value`
text NOT NULL,
89 PRIMARY KEY (`barrel`
, `
name`
)
92 -- --------------------------------------------------------
95 -- Table structure for table `diogenes_perm`
98 CREATE TABLE `diogenes_perm`
(
99 `
alias`
varchar(16) NOT NULL default '',
100 `auth`
enum('native','external') NOT NULL default 'native',
101 `uid`
int(10) unsigned
NOT NULL default '0',
102 `perms`
enum('admin','user') NOT NULL default 'user',
103 PRIMARY KEY (`
alias`
,`auth`
,`uid`
)
106 -- --------------------------------------------------------
109 -- Table structure for table `diogenes_plugin`
112 CREATE TABLE `diogenes_plugin`
(
113 `plugin`
varchar(32) NOT NULL default '',
114 `barrel`
varchar(16) NOT NULL default '',
115 `page`
int(10) unsigned
NOT NULL default '0',
116 `pos`
int(10) unsigned
NOT NULL default '0',
117 `params`
text NOT NULL,
118 `status`
int(1) unsigned
NOT NULL default '0',
119 PRIMARY KEY (`plugin`
,`barrel`
,`page`
),
123 -- --------------------------------------------------------
126 -- Table structure for table `diogenes_site`
129 CREATE TABLE `diogenes_site`
(
130 `
alias`
varchar(16) NOT NULL default '',
131 `vhost`
varchar(255) NOT NULL default '',
132 `flags`
varchar(255) NOT NULL default '',
133 PRIMARY KEY (`
alias`
)
136 -- --------------------------------------------------------
139 -- Set the database format version
142 INSERT INTO `diogenes_option`
SET name='dbversion', value='0.9.16+0.9.17pre21';