소스 검색

feat(sqlalchemy): add new column

Jonathan Rohde 10 달 전
부모
커밋
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"),