"""AddNewsAndOptionToData

Revision ID: db8cdd83563a
Revises: e6b8c95d8243
Create Date: 2025-06-10 11:36:57.478070

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = 'db8cdd83563a'
down_revision: Union[str, None] = 'e6b8c95d8243'
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! ###
    op.add_column('datas', sa.Column('news', sa.JSON(), nullable=True))
    op.add_column('datas', sa.Column('options', sa.JSON(), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('datas', 'options')
    op.drop_column('datas', 'news')
    # ### end Alembic commands ###
