Initial Commit

slip slop
This commit is contained in:
Ian Keane 2026-06-09 15:07:08 -04:00
commit 064e672ab7
61 changed files with 3504 additions and 0 deletions

View file

@ -0,0 +1,29 @@
"""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")