Skip to content

Commit 78596ac

Browse files
rtibblesbotclaude
andcommitted
feat: advertise content schema version 6
Add VERSION_6 carrying included_presets and set it as CONTENT_SCHEMA_VERSION so new Kolibri knows an export carries the column. MIN_CONTENT_SCHEMA_VERSION stays VERSION_5 since the column is additive and returned regardless. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent fe88cd4 commit 78596ac

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

contentcuration/kolibri_content/constants/schema_versions.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919

2020
VERSION_5 = "5"
2121

22+
VERSION_6 = "6"
23+
2224
# List of the content db schema versions, ordered from most recent to least recent.
2325
# When a new schema version is generated, it should be added here, at the top of the list.
2426
CONTENT_DB_SCHEMA_VERSIONS = [
27+
VERSION_6,
2528
VERSION_5,
2629
VERSION_4,
2730
VERSION_3,
@@ -33,7 +36,7 @@
3336
]
3437

3538
# The latest compatible exported schema version for this version of Kolibri
36-
CONTENT_SCHEMA_VERSION = VERSION_5
39+
CONTENT_SCHEMA_VERSION = VERSION_6
3740

3841
# The version name for the current content schema,
3942
# which may have schema modifications not present in the export schema

0 commit comments

Comments
 (0)