danvergara / dblab

The database client every command line junkie deserves.
MIT License
2.35k stars 62 forks source link

RSD Sqlite not accepted #211

Closed matbgn closed 3 months ago

matbgn commented 3 months ago

Describe the bug RSD Sqlite extension is not tolerated

Error: : invalid sqlite file extension

To Reproduce Steps to reproduce the behavior:

dblab --db ~/Data.rsd --driver sqlite

Expected behavior Accept .rsd as valid .sqlite alternative

OS (please complete the following information):

danvergara commented 3 months ago

@matbgn I made a PR (#215) to address this issue. I removed all validation on sqlite file extensions, since it can be any, sqlite will figure out if the file is valid.

Please, QA the PR to make sure it works as expected.

matbgn commented 3 months ago

I just tried your branch and it works! Thanks