Remove Freeform and Find from UI. Allow Description to be added to Reviewed job
This commit is contained in:
@@ -62,6 +62,11 @@ def init_db():
|
||||
ALTER TABLE ocr_jobs
|
||||
ADD COLUMN IF NOT EXISTS updated_at TIMESTAMPTZ
|
||||
""")
|
||||
# Which OCR model produced this job (e.g. "deepseek-local", "ollama:glm-ocr")
|
||||
cur.execute("""
|
||||
ALTER TABLE ocr_jobs
|
||||
ADD COLUMN IF NOT EXISTS ocr_model TEXT
|
||||
""")
|
||||
# Trigger function: stamp updated_at on every row update
|
||||
cur.execute("""
|
||||
CREATE OR REPLACE FUNCTION set_updated_at()
|
||||
|
||||
Reference in New Issue
Block a user