From 72e11db185e389306be50d6e6db733efa23d5e7a Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 15 Aug 2026 00:18:04 +0200 Subject: [PATCH] Ensure full projects column set in init_db to fix cross-process schema drift Test-process reflections of the projects table cached a reduced schema when they ran before the app server had ALTER-TABLE'd in website_url, repo_url, cover_attachment_uid, logo_attachment_uid, platforms, release_date, and demo_date, causing spurious KeyErrors under full-suite ordering. Co-Authored-By: Claude Sonnet 5 --- devplacepy/database/schema.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/devplacepy/database/schema.py b/devplacepy/database/schema.py index 4f39b35c..d7f45c0a 100644 --- a/devplacepy/database/schema.py +++ b/devplacepy/database/schema.py @@ -182,6 +182,13 @@ def init_db(): ("title", ""), ("description", ""), ("status", ""), + ("platforms", ""), + ("release_date", ""), + ("demo_date", ""), + ("website_url", ""), + ("repo_url", ""), + ("cover_attachment_uid", ""), + ("logo_attachment_uid", ""), ): if not projects.has_column(column): projects.create_column_by_example(column, example)