CREATE TABLE IF NOT EXISTS `en_word_synonym`
(
    `id`           BIGINT PRIMARY KEY AUTO_INCREMENT COMMENT '同义词记录主键ID',
    `word_id`      BIGINT       NOT NULL COMMENT '单词ID，关联 en_word.id',
    `rel_word_id`  BIGINT       NOT NULL COMMENT '关联同义词ID',
    `pos`          VARCHAR(20) COMMENT '词性，如 vt/vi/n',
    `delete_flag`  TINYINT(1) DEFAULT 0 COMMENT '删除标志，0-正常，1-删除',
    `create_at`    DATETIME   DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    `update_at`    DATETIME   DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间'
) ENGINE = InnoDB
  DEFAULT CHARSET = utf8mb4
  COLLATE = utf8mb4_unicode_ci COMMENT ='英语单词同义词表';
