/schema-to-yaml

Reads MySQL table definitions and parses them to yaml

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

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