"""create virtual_card_purchases card

Revision ID: 25d632e33779
Revises: 3a6e1ff319cc
Create Date: 2025-11-16 07:38:11.707541

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '25d632e33779'
down_revision: Union[str, None] = '3a6e1ff319cc'
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.drop_constraint('cards_virtual_user_card_id_fkey', 'cards_virtual_user', type_='foreignkey')
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_foreign_key('cards_virtual_user_card_id_fkey', 'cards_virtual_user', 'cards_virtual', ['card_id'], ['id'])
    # ### end Alembic commands ###
