Support *.sql dumps as datasources
Hello, first off what an amazing tool! Thank you!
I was wondering if you have any plans or thoughts on supporting native .sql schema dump files as s source? Currently only direct connections and the schema.json are supported which is great.
Would be great to support schema dump sql files. Comes in handy using migration tools where .sql versions of the schema is tracked and we can rely on that instead of connections to databases (specifically I'm thinking of dbmate)
totally fine if you feel like this is out of scope for what your vision for this library is.
Thanks again :)
@hamin Thank you for your request.
tbls does not provide a feature to dump DDL from two perspectives.
- Existing RDBs often have official DDL dump tools (such as mysqldump).
- It would be costly to make tbls support DDL dump for all data sources it supports.