25 lines
605 B
SQL
Executable File
25 lines
605 B
SQL
Executable File
-- ----------------------------
|
|
-- Table structure for cbc_message
|
|
-- ----------------------------
|
|
CREATE TABLE IF NOT EXISTS "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 IF NOT EXISTS "idx_cbcm_ne_time"
|
|
ON "cbc_message" (
|
|
"ne_type" ASC,
|
|
"ne_id" ASC,
|
|
"created_at" ASC
|
|
);
|