"""add instrument_tunings join table Revision ID: 57326830536b Revises: abdeb80d003e Create Date: 2026-06-09 """ from alembic import op import sqlalchemy as sa revision = "57326830536b" down_revision = "abdeb80d003e" branch_labels = None depends_on = None def upgrade() -> None: op.create_table( "instrument_tunings", sa.Column("instrument_id", sa.Integer(), sa.ForeignKey("instruments.id", ondelete="CASCADE"), primary_key=True, nullable=False), sa.Column("tuning_id", sa.Integer(), sa.ForeignKey("tunings.id", ondelete="CASCADE"), primary_key=True, nullable=False), ) def downgrade() -> None: op.drop_table("instrument_tunings")