-
Notifications
You must be signed in to change notification settings - Fork 0
/
dump.sql
45 lines (38 loc) · 1.08 KB
/
dump.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
DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
USE test;
DROP TABLE IF EXISTS `celery_tasksetmeta`;
CREATE TABLE `celery_tasksetmeta` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`taskset_id` varchar(155) DEFAULT NULL,
`result` blob,
`date_done` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `taskset_id` (`taskset_id`)
);
DROP TABLE IF EXISTS `celery_taskmeta`;
CREATE TABLE `celery_taskmeta` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`task_id` varchar(155) DEFAULT NULL,
`status` varchar(50) DEFAULT NULL,
`result` blob,
`date_done` datetime DEFAULT NULL,
`traceback` text,
PRIMARY KEY (`id`),
UNIQUE KEY `task_id` (`task_id`)
);
DROP TABLE IF EXISTS `master_tasks`;
CREATE TABLE `master_tasks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ip_address` varchar(45) NOT NULL,
`start_port` int(11) NOT NULL,
`end_port` int(11) NOT NULL,
`subnet` varchar(45) NOT NULL,
`task_type` varchar(45) NOT NULL,
PRIMARY KEY (`id`)
);
DROP TABLE IF EXISTS `celery_tasks`;
CREATE TABLE `celery_tasks` (
`task_id` text NOT NULL,
`master_task_id` int(11) DEFAULT NULL
);