Shivansh-yadav13 / SQLite-UI

Web 🌐 based Admin Interface for SQLite 🗂️ Database.
MIT License
7 stars 11 forks source link

[feat] support for all sqlite file extensions #31

Open Shivansh-yadav13 opened 2 years ago

Shivansh-yadav13 commented 2 years ago

Issue Sqlite database support the following file extensions .sqlite, .sqlite3, .db, .db3, .s3db, .sl3 but sqlite-ui can only open files with .db extension.

Solution Make the db uri flexible and allow the users to pass in file name along with the extension https://github.com/Shivansh-yadav13/SQLite-UI/blob/ea5984d910546cb9086845572ec88fb6122f18f9/main.go#L19

wliao008 commented 2 years ago

@Shivansh-yadav13 i'd propose to make this simpler, by passing in the complete path to the db file instead, so basically the db file can be named whatever and located in any directory and it should work.