Просмотр исходного кода

feat(sqlalchemy): add new column

Jonathan Rohde 10 месяцев назад
Родитель
Сommit
5391f4c1f7
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      backend/migrations/versions/7e5b5dc7342b_init.py

+ 1 - 0
backend/migrations/versions/7e5b5dc7342b_init.py

@@ -96,6 +96,7 @@ def upgrade() -> None:
             sa.Column("meta", apps.webui.internal.db.JSONField(), nullable=True),
             sa.Column("valves", apps.webui.internal.db.JSONField(), nullable=True),
             sa.Column("is_active", sa.Boolean(), nullable=True),
+            sa.Column("is_global", sa.Boolean(), nullable=True),
             sa.Column("updated_at", sa.BigInteger(), nullable=True),
             sa.Column("created_at", sa.BigInteger(), nullable=True),
             sa.PrimaryKeyConstraint("id"),