homelab_automation/alembic/versions/0016_add_storage_details_column.py
Bruno Charest 6d8432169b
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
Add enhanced terminal history panel UI with animations, keyboard navigation, advanced filtering, search highlighting, and improved storage metrics display with detailed filesystem tables and ZFS/LVM support
2025-12-21 12:31:08 -05:00

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')