-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdb_struct.sql
37 lines (31 loc) · 1007 Bytes
/
db_struct.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
-- Adminer 3.7.1 MySQL dump
SET NAMES utf8;
SET foreign_key_checks = 0;
SET time_zone = '+01:00';
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
DROP TABLE IF EXISTS `link`;
CREATE TABLE `link` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`from` int(10) unsigned NOT NULL,
`to` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `from_to` (`from`,`to`),
KEY `from` (`from`),
KEY `to` (`to`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `page`;
CREATE TABLE `page` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`protocol` varchar(10) NOT NULL,
`subd` varchar(255) NOT NULL,
`domain` varchar(255) NOT NULL,
`used_nette` tinyint(3) unsigned DEFAULT NULL,
`status` smallint(6) DEFAULT NULL,
`last_check` datetime DEFAULT NULL,
`added` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `protocol_subd_domain` (`protocol`,`subd`,`domain`),
KEY `added` (`added`),
KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- 2013-11-23 16:49:58