Skip to content
YoungKi Lyu edited this page Sep 25, 2022 · 2 revisions

Welcome to the schema-to-erd wiki!

# Download schema.sql file for example
$ wget http://downloads.mysql.com/docs/sakila-db.tar.gz
$ tar -xzf sakila-db.tar.gz

# Run the schame-to-erd program
$ npx schema-to-erd -s ./sakila-db/sakila-schema.sql
Look at the ERD image - http://www.plantuml.com/plantuml/img/ZLPBhjim3Dph5DeLAF0sNNfHl9iOgaGxGcr9eEJa1KNlNkfhEKZShCAXE2H5Zeny-Y0mREl2s3T-qGfuk03tpWQMaDGe5yZs2k5YbS_01q2muUx0HwguMgsuG_jhWTNpcmuNBioyWE8IxStp2I0m_riR9r2iVD468fbRfAICWGawtBcGmIB_mpZ_dinHAx8dZJwCHgn0O14FzkQK2C3-jXnA8NXVicIGynImMp_8LDe7r3AGAOcU8vsbkIoZj2gMSHThNfQJX6QBzrolefpchCrOh71QsMZ57xkPK7Cy9-U8mk_32tX9t7omAvGPLvIfP2FyP-Am2hti0onpbK5Vuwb4e6fZAlcYWKalQouUhSodWoKI57Y9sWLj3I641OI7yGu2KpOpRs8k3LhKipQqegCRgGevrOQYPKaUB2s1cSCbkTqY9AnqIblsSVkHOkOu1mTI4sUYosnqoxEhZCyLsrtkDVMed9tn8ABN2G9yXNTcsLZQNCbg9HkiIwz9EYKyhLw7djCSLt2cUIVkSUAPLa2HxOCInJGTDffrjaPnnmTPg6T2oyHSgazI9PAf3oCuje50-pSrj6lgQS5qdkjreIzVqk45EVe0aTIw1zQje3slpGCMjXFUtooUD4FqsapBj0f3UyAnw-_GnZ4LO-Lm6CedYdzy_4mVgUPX1RLFK0x9iFUpEjfXg0sbq0HsNnUsTvO2MozTnr6nmz3fBqLMV3XXRTF3K8IUWdEAAlqkwBJB8a2wu2wOVFFMVY-b5bu7Nv8Is7rxL9Dh2ikeyxBgwSMRGhls3yAkXFUwhT6dpHRynf8QysIU1R-HZNs2KV7_oZy0

Look at the ERD image - http://www.plantuml.com/plantuml/img/<encoded>

Clone this wiki locally