Skip to content

Commit

Permalink
Merge pull request #1103 from Linuxgt/patch-1
Browse files Browse the repository at this point in the history
Update docs.md
  • Loading branch information
hhyo authored May 29, 2021
2 parents 484a80e + 97c7f3d commit e10b061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ MySQL数据库与 Oracle、 SQL Server 等数据库相比,有其内核上的

### 2.1.1 库名

1. 【强制】库的名称必须控制在32个字符以内,相关模块的表名与表名之间尽量提现join的关系,如user表和user_login表。
1. 【强制】库的名称必须控制在32个字符以内,相关模块的表名与表名之间尽量体现join的关系,如user表和user_login表。
2. 【强制】库的名称格式:业务系统名称_子系统名,同一模块使用的表名尽量使用统一前缀。
3. 【强制】一般分库名称命名格式是`库通配名_编号`,编号从0开始递增,比如`wenda_001`以时间进行分库的名称格式是“库通配名_时间”
4. 【强制】创建数据库时必须显式指定字符集,并且字符集只能是utf8或者utf8mb4。创建数据库SQL举例:`create database db1 default character set utf8;`
Expand Down

0 comments on commit e10b061

Please sign in to comment.