mirror of
https://github.com/open-webui/open-webui
synced 2024-12-29 15:25:29 +00:00
refac: db schema
This commit is contained in:
parent
698f2f4e51
commit
c6dcac99ac
@ -21,6 +21,7 @@ def upgrade():
|
|||||||
sa.Column("id", sa.Text(), nullable=False, primary_key=True, unique=True),
|
sa.Column("id", sa.Text(), nullable=False, primary_key=True, unique=True),
|
||||||
sa.Column("user_id", sa.Text()),
|
sa.Column("user_id", sa.Text()),
|
||||||
sa.Column("name", sa.Text()),
|
sa.Column("name", sa.Text()),
|
||||||
|
sa.Column("description", sa.Text()),
|
||||||
sa.Column("data", sa.JSON(), nullable=True),
|
sa.Column("data", sa.JSON(), nullable=True),
|
||||||
sa.Column("meta", sa.JSON(), nullable=True),
|
sa.Column("meta", sa.JSON(), nullable=True),
|
||||||
sa.Column("access_control", sa.JSON(), nullable=True),
|
sa.Column("access_control", sa.JSON(), nullable=True),
|
||||||
|
Loading…
Reference in New Issue
Block a user