SweetIQ/schemats

Parse default schema from connection string

xiamx opened this issue · 1 comments

xiamx commented

Need to parse default schema from MySQL connection string so we can use

schemats generate -c mysql://root:1@localhost/db -t users -o db.ts

instead of schemats generate -c mysql://root:1@localhost/db -s db -t users -o db.ts

related to #57