24 lines
482 B
Python
24 lines
482 B
Python
"""persist capability probe results per run
|
|
|
|
Revision ID: 0010
|
|
Revises: 0009
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
revision = "0010"
|
|
down_revision = "0009"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
with op.batch_alter_table("test_runs") as batch:
|
|
batch.add_column(sa.Column("capabilities_json", sa.Text(), nullable=True))
|
|
|
|
|
|
def downgrade():
|
|
with op.batch_alter_table("test_runs") as batch:
|
|
batch.drop_column("capabilities_json")
|