mirror of https://github.com/PurpleI2P/regi2p.git
Domain registry project
http://reg.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.3 KiB
32 lines
1.3 KiB
CREATE TABLE `hosts` ( |
|
`host` varchar(67) NOT NULL PRIMARY KEY, |
|
`base64` varchar(616) NOT NULL, |
|
`base32` varchar(52) NOT NULL, |
|
`description` varchar(128) NOT NULL DEFAULT '', |
|
`add_date` timestamp NOT NULL DEFAULT current_timestamp(), |
|
`last_seen` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', |
|
`approved` tinyint(1) NOT NULL DEFAULT 0, |
|
`initial` tinyint(1) NOT NULL DEFAULT 0, |
|
`disabled` tinyint(1) NOT NULL DEFAULT 0, |
|
`hidden` tinyint(1) NOT NULL DEFAULT 0, |
|
`blacklisted` tinyint(1) NOT NULL DEFAULT 0 |
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; |
|
|
|
CREATE TABLE `outdated` ( |
|
`id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, |
|
`host` varchar(67) NOT NULL, |
|
`base64` varchar(616) NOT NULL, |
|
`base32` varchar(52) NOT NULL, |
|
`description` varchar(128) NOT NULL DEFAULT '', |
|
`add_date` timestamp NOT NULL DEFAULT current_timestamp(), |
|
`last_seen` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', |
|
`updated` timestamp NOT NULL DEFAULT current_timestamp() |
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; |
|
|
|
CREATE TABLE `subscriptions` ( |
|
`name` varchar(67) NOT NULL PRIMARY KEY, |
|
`url` varchar(256) NOT NULL, |
|
`modified` char(30) NOT NULL DEFAULT '', |
|
`etag` varchar(64) NOT NULL DEFAULT '', |
|
`active` tinyint(1) NOT NULL DEFAULT 0 |
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|