12345678910111213141516 |
- DROP TABLE IF EXISTS `ss_node_label`;
- CREATE TABLE `ss_node_label`
- (
- `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
- `node_id` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '节点ID',
- `label_id` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '标签ID',
- PRIMARY KEY (`id`),
- INDEX `idx_node_label` (`node_id`, `label_id`)
- ) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT ='节点标签';
|