Migration, Schema-NOT-NULL & klickbare Karten

migrate.sh erzeugt nicht-destruktiv eine frische kver.db aus original-kver.db
mit dem aktuellen Go-Schema (NULL/'none'-filepath normalisiert, Soft-Deletes
und Waisen verworfen). Das entry-Schema erzwingt jetzt NOT NULL DEFAULT '' auf
content/filepath – NULL-filepath ließ scanEntries Zeilen still überspringen.
Feed-Karten sind per Klick navigierbar (mit Hover-Highlight); DB-Artefakte
landen im .gitignore.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 17:07:05 +02:00
parent 720d5d64d5
commit 5478e92253
6 changed files with 223 additions and 6 deletions
+5
View File
@@ -133,6 +133,7 @@ a.button:hover, button:hover {
/* --- Einträge --- */
.card {
position: relative;
cursor: pointer;
background-color: white;
padding: 0.5rem;
margin-bottom: 0;
@@ -141,6 +142,10 @@ a.button:hover, button:hover {
border-bottom: 1px solid #ccc;
}
.card:hover {
background-color: #f7f7f5;
}
.card .content {
padding: 0.5rem 0;
line-height: 1.5;