forked from open-webui/open-webui
feat: db migration to sqlite
This commit is contained in:
parent
eadbfeb277
commit
9174331025
13 changed files with 302 additions and 60 deletions
4
backend/apps/web/internal/db.py
Normal file
4
backend/apps/web/internal/db.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
from peewee import *
|
||||
|
||||
DB = SqliteDatabase("./ollama.db")
|
||||
DB.connect()
|
Loading…
Add table
Add a link
Reference in a new issue