Skip to content

导出指定数据库的表格到gitbook,用作数据字典。

License

Notifications You must be signed in to change notification settings

justanding/mysql2gitbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mysql2gitbook

将表结构导出到gitbook;数据存放在命令执行目录的data目录

有简单的去重分表的处理,将处理table_name(_?\d+)$成table_name

example:

go run main.go -h 127.0.0.1:3306 -u root -p root -db dbname -filter true

gitbook:

docker run -v $PWD/data/{db}:/srv/gitbook -p 4000:4000 yanqd0/gitbook

About

导出指定数据库的表格到gitbook,用作数据字典。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages