Skip to content

Commit

Permalink
Fix for broken migrations on sqlite-utils 3.35, refs #162
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Aug 19, 2023
1 parent d31d97e commit c4dbb62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llm/migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def m007_finish_logs_table(db):
db["log"].transform(
drop={"debug"},
rename={"timestamp_utc": "datetime_utc"},
drop_foreign_keys=("chat_id",),
)
with db.conn:
db.execute("alter table log rename to logs")
Expand Down

0 comments on commit c4dbb62

Please sign in to comment.