"""Ajoute wallet dans la table transaction

Revision ID: 4293baba5733
Revises: 35803c76a51e
Create Date: 2025-12-20 11:02:52.350982

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '4293baba5733'
down_revision: Union[str, None] = '35803c76a51e'
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('transactions', sa.Column('wallet', sa.String(), nullable=True))
    # ### end Alembic commands ###


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