lucas-tulio / schema-to-yaml

Reads MySQL table definitions and parses them to yaml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

schema-to-yaml

Reads MySQL table definitions and parses them to yaml

Requirements

  • Python 3.4 or 2.7
  • PyMySQL (pip3 install pymysql)

Usage

  1. Enter your MySQL connection info in db.conf

  2. Run python schema-to-yaml schema_name

  3. See the result in schema.yaml

About

Reads MySQL table definitions and parses them to yaml

License:GNU General Public License v2.0


Languages

Language:Python 100.0%