danielgindi / knex-schema-builder

A schema builder module for knex.js, handles schema initialization and migration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create json for existing database?

bvschwartz opened this issue · comments

For those of us that already have an existing database it would be great if we could dump that into your JSON format and use the dump as a starting point for future migrations.

This means lots of parsing of queries- I hope to get to it sometime soon.
There is a feature on the way that will support exporting a full MySql database, which is a start... Other dbs will come after that, and only then will start parsing it to create JSONs...