mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-19 10:20:17 -06:00
63cf8710172ed7075c2d8f37bc226fb46669c25c
Store the primary key flag(s) inside the sqlb::Field objects instead of the sqlb::Table object. Technically this doesn't make a lot of sense but then again it makes things a lot easier for us. So this should fix quite a few issues in the entire program, especially - again - in renameColumn(). It also magically fixes createColumn() which had no chance of guessing which column should be a PK prior to this. To benefit from these changes the EditTableDialog has changes as well. - It should now be possible to set and unset PK and AI flags and they are actually saved. - Setting the AI flag automatically sets the data type to Integer because that's the only type SQLite can handle in an autoincrement field. - Clicking on the entry in the data type combobox which is currently selected doesn't update the DB anymore. This commit also makes some changes to the unit tests to reflect the API changes made. But it also adds missing quote characters in some verification strings. I hope this is a worthy 500th commit - at least it's got a long commit message...
============= sqlitebrowser ============= This is a fork from the SF project which seems to be stagnant. Old Project ----------- - http://sqlitebrowser.sourceforge.net - https://sourceforge.net/projects/sqlitebrowser/ What it is ---------- (taken from the website linked to above; it's still true - now even more) SQLite Database Browser is a freeware, public domain, open source visual tool used to create, design and edit database files compatible with SQLite. It is meant to be used for users and developers that want to create databases, edit and search data using a familiar spreadsheet-like interface, without the need to learn complicated SQL commands. What's been done since then --------------------------- - Qt3Support was removed - Recent files menu added - Improved UI, making it more modern, replacing some dialogs etc. - Syntax highlighting for SQL code - Cleaned up the code, reducing the SLOC quite a bit - Added basic support for triggers and views - Added pragma editing - Added BLOB support - Added a new filter row for searching - Improved performance when opening large tables - Extended the SQL tab - Added SQLite extension support - Fixed a ton of bugs - Probably more All in all a fair amount of the code has been rewritten in order to regain maintainability. Based on this quite a few bugs could be fixed and some features added. What's still to do ------------------ - Even more code cleanup - Further improvement of the UI, adding more features and making it easier to use - Feel free to add more issues at https://github.com/rp-/sqlitebrowser/issues Windows binaries ---------------- Windows binaries can be downloaded from here: http://rp.oldsch00l.com/sqlitebrowser/
Description
Official home of the DB Browser for SQLite (DB4S) project. Previously known as "SQLite Database Browser" and "Database Browser for SQLite". Website at:
Languages
C++
95.7%
C
2.6%
SCSS
0.7%
CMake
0.6%
QMake
0.2%
Other
0.1%