30 lines
669 B
SQL
30 lines
669 B
SQL
-- ----------------------------
|
|
-- Table structure for ne_link
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS "ne_link";
|
|
CREATE TABLE "ne_link" (
|
|
"id" integer NOT NULL,
|
|
"ne_type" text(32) NOT NULL,
|
|
"ne_id" text(32) NOT NULL,
|
|
"rm_uid" text(40),
|
|
"interface" text(16),
|
|
"status" text(255),
|
|
"created_at" text,
|
|
"updated_at" text,
|
|
"deleted_at" text,
|
|
PRIMARY KEY ("id")
|
|
);
|
|
|
|
-- ----------------------------
|
|
-- Indexes structure for table ne_link
|
|
-- ----------------------------
|
|
CREATE UNIQUE INDEX "idx_netype_neid"
|
|
ON "ne_link" (
|
|
"ne_type" ASC,
|
|
"ne_id" ASC
|
|
);
|
|
|
|
-- ----------------------------
|
|
-- Records of ne_link
|
|
-- ----------------------------
|