Improve local filetree view state and sidebar performance
This commit is contained in:
@@ -14,6 +14,18 @@ const MIGRATIONS: &[(&str, &str)] = &[
|
||||
"v2-ai-runtime-store",
|
||||
include_str!("../migrations/002-ai-runtime-store.sql"),
|
||||
),
|
||||
(
|
||||
"v3-sidebar-shortcuts",
|
||||
include_str!("../migrations/003-sidebar-shortcuts.sql"),
|
||||
),
|
||||
(
|
||||
"v4-user-ui-preferences",
|
||||
include_str!("../migrations/004-user-ui-preferences.sql"),
|
||||
),
|
||||
(
|
||||
"v5-sidebar-shortcut-root-uri",
|
||||
include_str!("../migrations/005-sidebar-shortcut-root-uri.sql"),
|
||||
),
|
||||
];
|
||||
|
||||
/// Create the `_migrations` meta-table if it does not exist.
|
||||
@@ -94,6 +106,8 @@ mod tests {
|
||||
"legacy_id_map",
|
||||
"ai_runtime_runs",
|
||||
"ai_runtime_events",
|
||||
"sidebar_shortcuts",
|
||||
"user_ui_preferences",
|
||||
] {
|
||||
assert!(table_exists(&conn, table), "table {table} should exist");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user