Update alembic/versions/a1b2c3d4e5f6_add_label_column_to_data.py

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
apenade 2025-11-18 10:44:49 +01:00 committed by GitHub
parent 82d48663bb
commit 8ea83e4a26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,8 @@ depends_on: Union[str, Sequence[str], None] = None
def upgrade() -> None:
op.add_column(
"data",
sa.Column("label", sa.String(), nullable=True)),
sa.Column("label", sa.String(), nullable=True)
)
def downgrade() -> None:
op.drop_column("data", "label")