"""sha256 unique

Revision ID: 78ead4bb04a8
Revises: 095797896701
Create Date: 2026-06-14 16:44:01.073200

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '78ead4bb04a8'
down_revision: Union[str, Sequence[str], None] = '095797896701'
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.create_unique_constraint(None, 'entries', ['sha256'])
    # ### end Alembic commands ###


def downgrade() -> None:
    """Downgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(None, 'entries', type_='unique')
    # ### end Alembic commands ###
