patch 1.1.5 (#530)

This commit is contained in:
anqiansong
2021-03-01 21:14:07 +08:00
committed by GitHub
parent 655ae8034c
commit dd393351cc
4 changed files with 61 additions and 15 deletions

View File

@@ -11,8 +11,8 @@ fromDDLWithoutCache:
# generate model with cache from data source
user=ugozero
password=
user=root
password=password
datasource=127.0.0.1:3306
database=gozero

View File

@@ -11,6 +11,7 @@ CREATE TABLE `user` (
`update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `name_index` (`name`),
UNIQUE KEY `name_index2` (`name`),
UNIQUE KEY `user_index` (`user`),
UNIQUE KEY `mobile_index` (`mobile`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;