mysql-db-generator
v1.0.3
Published
MySQL database generator. Generates SQL code to delete (if exists) and re-create a set of tables, defined by a JSON-format schema. Supports table multiple-inheritance, automatic primary keys, indexes, foreign key constraints, unique constraints, nullabl
Downloads
7
Readme
mysql-db-generator
MySQL table (re-)generator. Generates SQL code to delete (if exists) and re-create a set of tables, defined by a JSON-format schema. Supports table multiple-inheritance, automatic primary keys, indexes, foreign key constraints, unique constraints, nullables, default values, creation timestamps, modified timestamps, and probably more to come.
I'll write a proper README when I have time. In the meantime, you can see the invocation at example/example.js and the schema definition at example/example-schema.js.