-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathzeus2.sql
More file actions
224 lines (208 loc) · 7.42 KB
/
zeus2.sql
File metadata and controls
224 lines (208 loc) · 7.42 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
/*
Navicat MySQL Data Transfer
Source Server : 192.168.186.22
Source Server Version : 50536
Source Host : 192.168.186.22:3306
Source Database : zeus2
Target Server Type : MYSQL
Target Server Version : 50536
File Encoding : 65001
Date: 2014-12-01 10:42:25
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for zeus_debug_history
-- ----------------------------
DROP TABLE IF EXISTS `zeus_debug_history`;
CREATE TABLE `zeus_debug_history` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`end_time` datetime DEFAULT NULL,
`execute_host` varchar(255) DEFAULT NULL,
`file_id` bigint(20) DEFAULT NULL,
`gmt_create` datetime DEFAULT NULL,
`gmt_modified` datetime DEFAULT NULL,
`log` mediumtext,
`runtype` varchar(255) DEFAULT NULL,
`script` varchar(255) DEFAULT NULL,
`start_time` datetime DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=66 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zeus_file
-- ----------------------------
DROP TABLE IF EXISTS `zeus_file`;
CREATE TABLE `zeus_file` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`content` varchar(255) DEFAULT NULL,
`gmt_create` datetime DEFAULT NULL,
`gmt_modified` datetime DEFAULT NULL,
`name` varchar(255) NOT NULL,
`owner` varchar(255) NOT NULL,
`parent` bigint(20) DEFAULT NULL,
`type` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zeus_follow
-- ----------------------------
DROP TABLE IF EXISTS `zeus_follow`;
CREATE TABLE `zeus_follow` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`gmt_create` datetime DEFAULT NULL,
`gmt_modified` datetime DEFAULT NULL,
`target_id` bigint(20) DEFAULT NULL,
`type` int(11) DEFAULT NULL,
`uid` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zeus_group
-- ----------------------------
DROP TABLE IF EXISTS `zeus_group`;
CREATE TABLE `zeus_group` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`configs` text,
`descr` varchar(255) DEFAULT NULL,
`directory` int(11) NOT NULL,
`gmt_create` datetime NOT NULL,
`gmt_modified` datetime NOT NULL,
`name` varchar(255) NOT NULL,
`owner` varchar(255) NOT NULL,
`parent` int(11) DEFAULT NULL,
`resources` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zeus_job
-- ----------------------------
DROP TABLE IF EXISTS `zeus_job`;
CREATE TABLE `zeus_job` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`auto` int(11) DEFAULT NULL,
`configs` text,
`cron_expression` varchar(255) DEFAULT NULL,
`cycle` varchar(255) DEFAULT NULL,
`dependencies` varchar(255) DEFAULT NULL,
`descr` varchar(255) DEFAULT NULL,
`gmt_create` datetime NOT NULL,
`gmt_modified` datetime NOT NULL,
`group_id` int(11) NOT NULL,
`history_id` bigint(20) DEFAULT NULL,
`host` varchar(255) DEFAULT NULL,
`last_end_time` datetime DEFAULT NULL,
`last_result` varchar(255) DEFAULT NULL,
`name` varchar(255) NOT NULL,
`offset` int(11) DEFAULT NULL,
`owner` varchar(255) NOT NULL,
`post_processers` varchar(255) DEFAULT NULL,
`pre_processers` varchar(255) DEFAULT NULL,
`ready_dependency` varchar(255) DEFAULT NULL,
`resources` text,
`run_type` varchar(255) DEFAULT NULL,
`schedule_type` int(11) DEFAULT NULL,
`script` text,
`start_time` datetime DEFAULT NULL,
`start_timestamp` bigint(20) DEFAULT NULL,
`statis_end_time` datetime DEFAULT NULL,
`statis_start_time` datetime DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`timezone` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zeus_job_history
-- ----------------------------
DROP TABLE IF EXISTS `zeus_job_history`;
CREATE TABLE `zeus_job_history` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`cycle` varchar(255) DEFAULT NULL,
`end_time` datetime DEFAULT NULL,
`execute_host` varchar(255) DEFAULT NULL,
`gmt_create` datetime DEFAULT NULL,
`gmt_modified` datetime DEFAULT NULL,
`illustrate` varchar(255) DEFAULT NULL,
`job_id` bigint(20) DEFAULT NULL,
`log` mediumtext,
`operator` varchar(255) DEFAULT NULL,
`properties` varchar(255) DEFAULT NULL,
`start_time` datetime DEFAULT NULL,
`statis_end_time` datetime DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`timezone` varchar(255) DEFAULT NULL,
`trigger_type` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=526 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zeus_lock
-- ----------------------------
DROP TABLE IF EXISTS `zeus_lock`;
CREATE TABLE `zeus_lock` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`gmt_create` datetime DEFAULT NULL,
`gmt_modified` datetime DEFAULT NULL,
`host` varchar(255) DEFAULT NULL,
`server_update` datetime DEFAULT NULL,
`subgroup` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zeus_permission
-- ----------------------------
DROP TABLE IF EXISTS `zeus_permission`;
CREATE TABLE `zeus_permission` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`gmt_create` datetime DEFAULT NULL,
`gmt_modified` datetime DEFAULT NULL,
`target_id` bigint(20) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`uid` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zeus_profile
-- ----------------------------
DROP TABLE IF EXISTS `zeus_profile`;
CREATE TABLE `zeus_profile` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`gmt_create` datetime DEFAULT NULL,
`gmt_modified` datetime DEFAULT NULL,
`hadoop_conf` varchar(255) DEFAULT NULL,
`uid` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zeus_timezone
-- ----------------------------
DROP TABLE IF EXISTS `zeus_timezone`;
CREATE TABLE `zeus_timezone` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`timezone` varchar(255) DEFAULT NULL,
`uid` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zeus_user
-- ----------------------------
DROP TABLE IF EXISTS `zeus_user`;
CREATE TABLE `zeus_user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`email` varchar(255) DEFAULT NULL,
`gmt_create` datetime DEFAULT NULL,
`gmt_modified` datetime DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`phone` varchar(255) DEFAULT NULL,
`uid` varchar(255) DEFAULT NULL,
`wangwang` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for zeus_worker
-- ----------------------------
DROP TABLE IF EXISTS `zeus_worker`;
CREATE TABLE `zeus_worker` (
`host` varchar(255) NOT NULL,
`rate` float DEFAULT NULL,
`timestamp` bigint(20) DEFAULT NULL,
PRIMARY KEY (`host`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;