Add 'settings'
parent
5bb91e9d64
commit
81aa8fc075
|
@ -0,0 +1,10 @@
|
|||
The `settings` table holds the user configuration data so things like window and sidebar sizes can be restored during application startup. Settings values are stored as text, and converted to and from their corresponding data type by the application.
|
||||
|
||||
### Columns
|
||||
| Name | Type | Description |
|
||||
| ----- | ---- | ----------------------------------- |
|
||||
| key | TEXT | The unique key for a single setting |
|
||||
| type | TEXT | The data type of this value |
|
||||
| value | TEXT | The user configured value |
|
||||
|
||||
The currently supported values for the `type` column are: "gint", "gdouble", "gboolean", or "gchararray". This is implemented through a [SQLite CHECK constraint](https://www.sqlite.org/lang_createtable.html#check_constraints)
|
Loading…
Reference in New Issue