"""Add import_metadata JSONB column to trees table.

Revision ID: 050
Revises: 049
Create Date: 2026-03-05
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects.postgresql import JSONB

# revision identifiers
revision = '050'
down_revision = '049'
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.add_column('trees', sa.Column('import_metadata', JSONB, nullable=True))


def downgrade() -> None:
    op.drop_column('trees', 'import_metadata')
