mirror of
https://github.com/Hopiu/llm.git
synced 2026-03-17 05:00:25 +00:00
Fix for broken migrations on sqlite-utils 3.35, refs #162
This commit is contained in:
parent
d31d97e06f
commit
c4dbb62e68
1 changed files with 1 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue