测试分支同步
个人博客
create database blog; use blog;
-- auto-generated definition create table article ( uuid int null comment '唯一id', article_uuid int(12) auto_increment comment '文章唯一id', article_title varchar(255) null comment '文章标题', article_content text null comment '文章内容', article_target varchar(255) null comment '文章简介', article_points int(12) null comment '文章点赞', article_ban int null comment '文章封禁', article_top int null comment '文章置顶', constraint article_article_uuid_uindex unique (article_uuid) );
create index uuid on article (uuid);
alter table article add primary key (article_uuid);
-- auto-generated definition create table user ( uuid int(12) auto_increment comment '唯一id', username varchar(255) null comment '用户名', nickname varchar(255) null comment '昵称', password varchar(255) null comment '密码', date date null comment '注册日期', sex varchar(20) null comment '性别', userinfo text null comment '用户信息', authority int null comment '权限', verification int null comment '验证', constraint user_username_uindex unique (username), constraint user_uuid_uindex unique (uuid) ) comment '用户表';
alter table user add primary key (uuid);