Skip to content

Commit bbe2980

Browse files
committed
⚡ 修改表结构.
1 parent 544a015 commit bbe2980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/init-2-schema-tables.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ CREATE TABLE `host`
428428
`updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
429429
`deleted` tinyint(1) NULL DEFAULT 0 COMMENT '是否删除 0未删除 1已删除',
430430
PRIMARY KEY (`id`) USING BTREE,
431-
INDEX `idx_type` (`type`) USING BTREE
431+
INDEX `idx_type_address` (`type`, `address`) USING BTREE
432432
) ENGINE = InnoDB
433433
AUTO_INCREMENT = 1
434434
CHARACTER SET = utf8mb4

0 commit comments

Comments
 (0)