forked from open-webui/open-webui
feat: add support for using postgres for the backend DB
This commit is contained in:
parent
f8f9f27ae8
commit
e91a49c455
15 changed files with 329 additions and 18 deletions
|
@ -19,9 +19,9 @@ import json
|
|||
class Prompt(Model):
|
||||
command = CharField(unique=True)
|
||||
user_id = CharField()
|
||||
title = CharField()
|
||||
title = TextField()
|
||||
content = TextField()
|
||||
timestamp = DateField()
|
||||
timestamp = BigIntegerField()
|
||||
|
||||
class Meta:
|
||||
database = DB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue