From 292f7bf3163e4a5e45047e888a826db44819eb8f Mon Sep 17 00:00:00 2001 From: gilesb Date: Sat, 10 Jan 2026 02:48:09 +0000 Subject: [PATCH] Add migration to add description column to user_storage table Co-Authored-By: Claude Opus 4.5 --- db.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/db.py b/db.py index 1a0bc43..35f2441 100644 --- a/db.py +++ b/db.py @@ -170,6 +170,12 @@ DO $$ BEGIN ALTER TABLE assets ADD COLUMN source_type VARCHAR(50); EXCEPTION WHEN duplicate_column THEN NULL; END $$; + +-- Add description column to user_storage if it doesn't exist +DO $$ BEGIN + ALTER TABLE user_storage ADD COLUMN description TEXT; +EXCEPTION WHEN duplicate_column THEN NULL; +END $$; """