Files
be.ems/build/database/lite/install/cbc_message.sql
2025-08-12 10:12:46 +08:00

26 lines
614 B
SQL
Executable File

-- ----------------------------
-- Table structure for cbc_message
-- ----------------------------
DROP TABLE IF EXISTS `cbc_message`;
CREATE TABLE "cbc_message" (
"id" integer NOT NULL,
"ne_type" text(32),
"ne_id" text(32),
"message_json" text(10240),
"status" text(32),
"detail" text(255),
"created_at" integer,
"updated_at" integer,
PRIMARY KEY ("id")
);
-- ----------------------------
-- Indexes structure for table cbc_message
-- ----------------------------
CREATE INDEX "idx_cbcm_ne_time"
ON "cbc_message" (
"ne_type" ASC,
"ne_id" ASC,
"created_at" ASC
);