Some checks failed
Tests / Backend Tests (Python) (3.10) (push) Has been cancelled
Tests / Backend Tests (Python) (3.11) (push) Has been cancelled
Tests / Backend Tests (Python) (3.12) (push) Has been cancelled
Tests / Frontend Tests (JS) (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / All Tests Passed (push) Has been cancelled
22 lines
421 B
Python
22 lines
421 B
Python
"""Add storage_details column to host_metrics table
|
|
|
|
Revision ID: 0016
|
|
Revises: 0015
|
|
Create Date: 2025-12-19
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
revision = '0016'
|
|
down_revision = '0015'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
op.add_column('host_metrics', sa.Column('storage_details', sa.JSON(), nullable=True))
|
|
|
|
|
|
def downgrade():
|
|
op.drop_column('host_metrics', 'storage_details')
|