[no publish] finish dot parser
This commit is contained in:
@ -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 ();
|
||||
|
Reference in New Issue
Block a user