"""Add personality_profile JSONB column to creators.

Revision ID: 023_add_personality_profile
Revises: 022_add_creator_follows
"""

from alembic import op


revision = "023_add_personality_profile"
down_revision = "022_add_creator_follows"
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.execute("ALTER TABLE creators ADD COLUMN IF NOT EXISTS personality_profile JSONB")


def downgrade() -> None:
    op.execute("ALTER TABLE creators DROP COLUMN IF EXISTS personality_profile")
