/[mod_auth_mysql]/mod_auth_mysql/htpasswd.sql
ViewVC logotype

Contents of /mod_auth_mysql/htpasswd.sql

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations)
Thu Mar 1 00:17:40 2007 CET (3 years, 6 months ago) by ueli
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
Add descriptions for MD5 and SHA hashes
1
2 #
3 # Table structure for table `host_info`
4 #
5 # the fields created, updated, and isadmin are not needed by the module!
6 # they may help you creating a php-htpasswd frontend
7 #
8
9 CREATE TABLE host_info (
10 id int(14) NOT NULL auto_increment,
11 host char(255) NOT NULL default '',
12 host_group int(14) NOT NULL default '0',
13 created timestamp(14) NOT NULL,
14 updated timestamp(14) NOT NULL,
15 PRIMARY KEY (id),
16 KEY host (host)
17 ) TYPE=MyISAM PACK_KEYS=1;
18 # --------------------------------------------------------
19
20 #
21 # Table structure for table `user_group`
22 #
23
24 CREATE TABLE user_group (
25 id int(14) NOT NULL auto_increment,
26 user_name char(50) NOT NULL default '',
27 user_group char(20) NOT NULL default '',
28 host_group int(14) default NULL,
29 created timestamp(14) NOT NULL,
30 updated timestamp(14) NOT NULL,
31 PRIMARY KEY (id),
32 KEY host_group (host_group),
33 KEY user_group (user_group)
34 ) TYPE=MyISAM PACK_KEYS=1;
35 # --------------------------------------------------------
36
37 #
38 # Table structure for table `user_info`
39 #
40
41 CREATE TABLE user_info (
42 id int(14) NOT NULL auto_increment,
43 user_name char(30) NOT NULL default '',
44 user_passwd char(120) NOT NULL default '',
45 host_group int(14) NOT NULL default '0',
46 created timestamp(14) NOT NULL,
47 updated timestamp(14) NOT NULL,
48 isadmin tinyint(4) NOT NULL default '0',
49 PRIMARY KEY (id),
50 UNIQUE KEY user_name (user_name,host_group)
51 ) TYPE=MyISAM PACK_KEYS=1;
52
53
54
55
56
57

No admin address has been configured">No admin address has been configured
ViewVC Help
Powered by ViewVC 1.1.5 RSS 2.0 feed