"""Add Zepp fields Revision ID: c3049b0cefc4 Revises: 6c3fce1dd49a Create Date: 2025-12-29 17:26:48.144904 """ from typing import Sequence, Union from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision: str = 'c3049b0cefc4' down_revision: Union[str, Sequence[str], None] = '6c3fce1dd49a' branch_labels: Union[str, Sequence[str], None] = None depends_on: Union[str, Sequence[str], None] = None def upgrade() -> None: """Upgrade schema.""" # ### commands auto generated by Alembic - please adjust! ### op.add_column('daily_health_metrics', sa.Column('weight', sa.Float(), nullable=True)) op.add_column('daily_health_metrics', sa.Column('resting_heart_rate', sa.Integer(), nullable=True)) op.add_column('daily_health_metrics', sa.Column('hrv', sa.Float(), nullable=True)) # ### end Alembic commands ### def downgrade() -> None: """Downgrade schema.""" # ### commands auto generated by Alembic - please adjust! ### op.drop_column('daily_health_metrics', 'hrv') op.drop_column('daily_health_metrics', 'resting_heart_rate') op.drop_column('daily_health_metrics', 'weight') # ### end Alembic commands ###