-
Notifications
You must be signed in to change notification settings - Fork 2
/
dhcpd_leases.sql
54 lines (45 loc) · 1.02 KB
/
dhcpd_leases.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
--
-- Table structure for table `cids`
--
CREATE TABLE `cids` (
`id` int(11) NOT NULL auto_increment,
`value` varchar(63) default NULL,
PRIMARY KEY (`id`)
);
--
-- Table structure for table `hws`
--
CREATE TABLE `hws` (
`id` int(11) NOT NULL auto_increment,
`value` varchar(63) default NULL,
PRIMARY KEY (`id`)
);
--
-- Table structure for table `ips`
--
CREATE TABLE `ips` (
`id` int(11) NOT NULL auto_increment,
`value` varchar(63) default NULL,
PRIMARY KEY (`id`)
);
--
-- Table structure for table `leases`
--
CREATE TABLE `leases` (
`id` int(11) NOT NULL auto_increment,
`ip` int(11) NOT NULL default '0',
`lstart` timestamp NOT NULL default '0000-00-00 00:00:00',
`lend` timestamp NOT NULL default '0000-00-00 00:00:00',
`hw` int(11) default NULL,
`cid` int(11) default NULL,
`rid` int(11) default NULL,
PRIMARY KEY (`id`)
);
--
-- Table structure for table `rids`
--
CREATE TABLE `rids` (
`id` int(11) NOT NULL auto_increment,
`value` varchar(63) default NULL,
PRIMARY KEY (`id`)
);