Files
be.ems/build/database/lite/install/ne_host.sql
2025-04-01 10:51:36 +08:00

41 lines
1.2 KiB
SQL

-- ----------------------------
-- Table structure for ne_host
-- ----------------------------
DROP TABLE IF EXISTS "ne_host";
CREATE TABLE "ne_host" (
"id" integer NOT NULL,
"host_type" text(16),
"group_id" text(1),
"title" text(128),
"addr" text(128),
"port" integer(11),
"user" text(50),
"auth_mode" text(1),
"password" text(2000),
"private_key" text(6000),
"pass_phrase" text(2000),
"db_name" text(50),
"remark" text(500),
"create_by" text(50),
"create_time" integer(20),
"update_by" text(50),
"update_time" integer(20),
PRIMARY KEY ("id")
);
-- ----------------------------
-- Indexes structure for table ne_host
-- ----------------------------
CREATE UNIQUE INDEX "uk_type_group_title"
ON "ne_host" (
"host_type" ASC,
"group_id" ASC,
"title" ASC
);
-- ----------------------------
-- Records of ne_host
-- ----------------------------
INSERT INTO "ne_host" VALUES (1, 'ssh', '1', 'OMC_001_22', '127.0.0.1', 22, 'omcuser', '2', '', '', '', '', '', 'system', 1729063407329, '', 0);
INSERT INTO "ne_host" VALUES (2, 'telnet', '1', 'OMC_001_4100', '127.0.0.1', 4100, 'admin', '0', 'NUBonCin4GZgl7o12YjeClE8ToQmYp9KWdhMjSNxc2M=', '', '', '', '', 'system', 1729063407329, '', 0);