You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/database/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ pkg/db/New() called
45
45
Check current database version
46
46
↓
47
47
Database version > available migrations?
48
-
├─ Yes → Log warning, continue (database from newer version)
48
+
├─ Yes → Return error (database from newer version)
49
49
└─ No → Run pending migrations sequentially
50
50
↓
51
51
[Release File Lock]
@@ -87,9 +87,9 @@ for a race condition if two process concurrently attempt to run the migrations.
87
87
If you run an older version of the tool after having used a newer version, the database may be at a higher schema version than the older tool expects. In this case:
88
88
89
89
- The tool detects the database is ahead of available migrations
90
-
-A warning is logged once per process:
90
+
-An error is returned to prevent potential data corruption:
91
91
```
92
-
Warning database version 8 (~/.docker/mcp/mcp-toolkit.db) is newer than expected. Upgrade to the newest version to prevent issues.
92
+
database version 8 (~/.docker/mcp/mcp-toolkit.db) is ahead of the current application version. Please upgrade to the latest version
0 commit comments