Skip to content

Commit ed6ac24

Browse files
committed
docs: update schema_changes.md for DB_VERSION 9
1 parent 3183324 commit ed6ac24

File tree

1 file changed

+26
-12
lines changed

1 file changed

+26
-12
lines changed

docs/updates/schema_changes.md

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,45 +2,59 @@
22

33
This page outlines the various changes made the TagStudio save file format over time, sometimes referred to as the "database" or "database file".
44

5+
---
6+
57
## JSON
68

7-
| First Used | Last Used | Format | Location |
8-
| ---------- | ----------------------------------------------------------------------- | ------ | --------------------------------------------- |
9-
| v1.0.0 | [v9.4.2](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.4.2) | JSON | `<Library Folder>`/.TagStudio/ts_library.json |
9+
| Used From | Used Until | Format | Location |
10+
| --------- | ----------------------------------------------------------------------- | ------ | --------------------------------------------- |
11+
| v1.0.0 | [v9.4.2](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.4.2) | JSON | `<Library Folder>`/.TagStudio/ts_library.json |
1012

1113
The legacy database format for public TagStudio releases [v9.1](https://github.com/TagStudioDev/TagStudio/tree/Alpha-v9.1) through [v9.4.2](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.4.2). Variations of this format had been used privately since v1.0.0.
1214

1315
Replaced by the new SQLite format introduced in TagStudio [v9.5.0 Pre-Release 1](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.0-pr1).
1416

17+
---
18+
1519
## DB_VERSION 6
1620

17-
| First Used | Last Used | Format | Location |
21+
| Used From | Used Until | Format | Location |
1822
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------ | ----------------------------------------------- |
1923
| [v9.5.0-PR1](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.0-pr1) | [v9.5.0-PR1](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.0-pr1) | SQLite | `<Library Folder>`/.TagStudio/ts_library.sqlite |
2024

2125
The first public version of the SQLite save file format.
2226

2327
Migration from the legacy JSON format is provided via a walkthrough when opening a legacy library in TagStudio [v9.5.0 Pre-Release 1](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.0-pr1) or later.
2428

29+
---
30+
2531
## DB_VERSION 7
2632

27-
| First Used | Last Used | Format | Location |
33+
| Used From | Used Until | Format | Location |
2834
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------ | ----------------------------------------------- |
2935
| [v9.5.0-PR2](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.0-pr2) | [v9.5.0-PR3](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.0-pr3) | SQLite | `<Library Folder>`/.TagStudio/ts_library.sqlite |
3036

31-
### Changes
32-
3337
- Repairs "Description" fields to use a TEXT_LINE key instead of a TEXT_BOX key.
3438
- Repairs tags that may have a disambiguation_id pointing towards a deleted tag.
3539

36-
## DB_VERSION 8
40+
---
3741

38-
| First Used | Last Used | Format | Location |
39-
| ------------------------------------------------------------------------------- | --------- | ------ | ----------------------------------------------- |
40-
| [v9.5.0-PR4](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.0-pr4) | _Current_ | SQLite | `<Library Folder>`/.TagStudio/ts_library.sqlite |
42+
## DB_VERSION 8
4143

42-
### Changes
44+
| Used From | Used Until | Format | Location |
45+
| ------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ------ | ----------------------------------------------- |
46+
| [v9.5.0-PR4](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.0-pr4) | [v9.5.1](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.1) | SQLite | `<Library Folder>`/.TagStudio/ts_library.sqlite |
4347

4448
- Adds the `color_border` column to `tag_colors` table. Used for instructing the [secondary color](../library/tag_color.md#secondary-color) to apply to a tag's border as a new optional behavior.
4549
- Adds three new default colors: "Burgundy (TagStudio Shades)", "Dark Teal (TagStudio Shades)", and "Dark Lavender (TagStudio Shades)".
4650
- Updates Neon colors to use the new `color_border` property.
51+
52+
---
53+
54+
## DB_VERSION 9
55+
56+
| Used From | Used Until | Format | Location |
57+
| ----------------------------------------------------------------------- | ---------- | ------ | ----------------------------------------------- |
58+
| [v9.5.2](https://github.com/TagStudioDev/TagStudio/releases/tag/v9.5.2) | _Current_ | SQLite | `<Library Folder>`/.TagStudio/ts_library.sqlite |
59+
60+
- Adds the `filename` column to the `entries` table. Used for sorting entries by filename in search results.

0 commit comments

Comments
 (0)