from __future__ import annotations

from alembic import op
import sqlalchemy as sa

revision = "202607110005"
down_revision = "202607110004"
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.add_column("contacts", sa.Column("notes", sa.String(length=500), nullable=True))
    op.add_column("devices", sa.Column("notes", sa.Text(), nullable=True))
    op.add_column("equipment", sa.Column("notes", sa.String(length=500), nullable=True))


def downgrade() -> None:
    op.drop_column("equipment", "notes")
    op.drop_column("devices", "notes")
    op.drop_column("contacts", "notes")
