voice-coach / backend /patch_db.py
Bot
Deploy continuous session fixes, TTS toggle, and LLM sample answers
6ab86fd
raw
history blame contribute delete
386 Bytes
import sqlite3
def patch():
print("Patching database...")
try:
conn = sqlite3.connect("voicecoach.db")
conn.execute("ALTER TABLE sessions ADD COLUMN resume_text TEXT DEFAULT ''")
conn.commit()
conn.close()
print("Success! Added resume_text.")
except Exception as e:
print("Error:", e)
if __name__ == "__main__":
patch()