feat: 跟踪任务添加标题,任务错误移除已发任务
This commit is contained in:
30
build/database/lite/upgrade/upg_trace_task.sql
Normal file
30
build/database/lite/upgrade/upg_trace_task.sql
Normal file
@@ -0,0 +1,30 @@
|
||||
-- ----------------------------
|
||||
-- Table structure for trace_task
|
||||
-- ----------------------------
|
||||
CREATE TABLE IF NOT EXISTS "trace_task" (
|
||||
"id" integer NOT NULL,
|
||||
"trace_id" text(16) NOT NULL,
|
||||
"trace_type" text(2) NOT NULL,
|
||||
"start_time" integer,
|
||||
"end_time" integer,
|
||||
"interfaces" text(255),
|
||||
"imsi" text(16),
|
||||
"msisdn" text(16),
|
||||
"src_ip" text(128),
|
||||
"dst_ip" text(128),
|
||||
"create_by" text(50),
|
||||
"create_time" integer,
|
||||
"title" text(255),
|
||||
"remark" text(500),
|
||||
"ne_list" text(32) NOT NULL,
|
||||
"notify_url" text(128) NOT NULL,
|
||||
PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- ----------------------------
|
||||
-- Indexes structure for table trace_task
|
||||
-- ----------------------------
|
||||
|
||||
|
||||
-- ADD COLUMN
|
||||
ALTER TABLE trace_task ADD COLUMN title text(255);
|
||||
Reference in New Issue
Block a user