31 lines
742 B
SQL
31 lines
742 B
SQL
-- ----------------------------
|
|
-- 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);
|