"""Add image_url and lyrics columns

Revision ID: f92d8a9264d3
Revises: 4401cb416661
Create Date: 2025-12-25 22:06:05.841447

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = 'f92d8a9264d3'
down_revision: Union[str, Sequence[str], None] = '4401cb416661'
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.add_column('artists', sa.Column('image_url', sa.String(), nullable=True))
    op.add_column('tracks', sa.Column('image_url', sa.String(), nullable=True))
    op.add_column('tracks', sa.Column('lyrics', sa.Text(), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    """Downgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('tracks', 'lyrics')
    op.drop_column('tracks', 'image_url')
    op.drop_column('artists', 'image_url')
    # ### end Alembic commands ###
