base64 как TEXT (без декодирования), original_b64 колонка, v1.24
This commit is contained in:
@@ -157,3 +157,4 @@ def ensure_schema():
|
||||
|
||||
# Миграция: добавить elements_json если колонки ещё нет
|
||||
db.execute("ALTER TABLE documents ADD COLUMN IF NOT EXISTS elements_json JSONB")
|
||||
db.execute("ALTER TABLE documents ADD COLUMN IF NOT EXISTS original_b64 TEXT")
|
||||
|
||||
Reference in New Issue
Block a user