[no publish] finish dot parser

This commit is contained in:
2020-02-21 11:29:50 +01:00
parent 74fed4363b
commit 33c34b18f7
3 changed files with 108 additions and 64 deletions

View File

@ -7,8 +7,7 @@ const dot_parser = require ('../snippets/db/dot_parser');
* test
*/
async function test () {
const data = await dot_parser.get_tables ('db_structure.dot');
for (const table of data)
console.log (dot_parser.create_table_function (table));
const data = await dot_parser.create_migration ('db_structure.dot');
console.log (data);
}
test ();