Skip to content

Creates a list of all tables and columns for a MySQL database with anchor links for foreign key relationships

Notifications You must be signed in to change notification settings

stevenkaspar/mysql-documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creates a list of all tables and columns for a MySQL database with anchor links for foreign key relationships

Example Output


users

  • id int

  • username varchar

  • email_primary varchar

  • member_id int

  • created_date datetime

  • updated_date datetime

members

  • id int

  • created_date datetime

  • updated_date datetime


Installation

npm i mysql-documentation

Usage

MYSQL_HOST=127.0.0.1 \
MYSQL_USER=root \
MYSQL_PASS=password \
MYSQL_DB=test \
OUT_PATH=.. \
OUT_NAME=test \ # will produce test.md and test.html
./node_modules/.bin/mysql-documentation

About

Creates a list of all tables and columns for a MySQL database with anchor links for foreign key relationships

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published