Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何解析ddl中的索引 #27

Open
inlovingrest opened this issue Jan 21, 2025 · 0 comments
Open

请问如何解析ddl中的索引 #27

inlovingrest opened this issue Jan 21, 2025 · 0 comments

Comments

@inlovingrest
Copy link

DROP TABLE IF EXISTS test_table;
CREATE TABLE test_table (
id bigint UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键',
name varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名称',
test varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '测试',
PRIMARY KEY (id) USING BTREE,
INDEX idx_test(name, test) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 148 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '测试表' ROW_FORMAT = Dynamic;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant