Add qdrant_synced_at column
This commit is contained in:
@@ -54,6 +54,10 @@ def init_db():
|
||||
ALTER TABLE ocr_jobs
|
||||
ADD COLUMN IF NOT EXISTS freeform_text TEXT
|
||||
""")
|
||||
cur.execute("""
|
||||
ALTER TABLE ocr_jobs
|
||||
ADD COLUMN IF NOT EXISTS qdrant_synced_at TIMESTAMPTZ
|
||||
""")
|
||||
# Unique constraint: prevent duplicate (author, chapter, page) submissions.
|
||||
# Applies only when all three fields are non-null.
|
||||
cur.execute("""
|
||||
|
||||
Reference in New Issue
Block a user