Spaces:
Running
Running
File size: 386 Bytes
6ab86fd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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()
|