"""macd_12_26_9_buy

Revision ID: 178a44cb5c39
Revises: c32ee728030b
Create Date: 2025-04-09 05:44:00.339187

"""

from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = "178a44cb5c39"
down_revision: Union[str, None] = "c32ee728030b"
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table("analysis", schema=None) as batch_op:
        batch_op.add_column(sa.Column("macd_12_26_9_buy", sa.Float(), nullable=True))

    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table("analysis", schema=None) as batch_op:
        batch_op.drop_column("macd_12_26_9_buy")

    # ### end Alembic commands ###
