-
Notifications
You must be signed in to change notification settings - Fork 56
/
tables.sql
40 lines (37 loc) · 1.58 KB
/
tables.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# Table structure for table `groups`
#
CREATE TABLE `groups` (
`groupname` varchar(32) NOT NULL default '',
`gid` smallint(6) unsigned NOT NULL auto_increment,
`members` varchar(255) NOT NULL default '',
PRIMARY KEY (`gid`),
UNIQUE KEY `groupname` (`groupname`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='ProFTPd group table';
#
# Table structure for table `users`
#
CREATE TABLE `users` (
`id` smallint(2) unsigned NOT NULL auto_increment,
`userid` varchar(32) NOT NULL default '',
`uid` smallint(6) unsigned default NULL,
`gid` smallint(6) unsigned default NULL,
`passwd` varchar(265) NOT NULL default '',
`homedir` varchar(255) NOT NULL default '',
`comment` varchar(255) NOT NULL default '',
`disabled` smallint(2) unsigned NOT NULL default '0',
`shell` varchar(32) NOT NULL default '/sbin/nologin',
`email` varchar(255) NOT NULL default '',
`name` varchar(255) NOT NULL default '',
`title` varchar(5) NOT NULL default '',
`company` varchar(255) NOT NULL default '',
`bytes_in_used` bigint(20) unsigned NOT NULL default '0',
`bytes_out_used` bigint(20) unsigned NOT NULL default '0',
`files_in_used` bigint(20) unsigned NOT NULL default '0',
`files_out_used` bigint(20) unsigned NOT NULL default '0',
`login_count` int(11) unsigned NOT NULL default '0',
`last_login` datetime NOT NULL default '0000-00-00 00:00:00',
`last_modified` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
UNIQUE KEY `userid` (`userid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='ProFTPd user table';