fix: migrations for new sqlite schema

This commit is contained in:
simosmik
2026-04-30 06:56:43 +00:00
parent e1275e6d3c
commit 0753c04783

View File

@@ -65,6 +65,7 @@ const migrateLegacySessionNames = (db: Database): void => {
COALESCE(created_at, CURRENT_TIMESTAMP),
COALESCE(updated_at, CURRENT_TIMESTAMP)
FROM session_names
WHERE true
ON CONFLICT(session_id) DO UPDATE SET
provider = excluded.provider,
custom_name = COALESCE(excluded.custom_name, sessions.custom_name),