from alembic import op
import sqlalchemy as sa
revision = 'f2a3b4c5d6e7'
down_revision = 'a1b2c3d4e5f6'
branch_labels = None
depends_on = None

def upgrade() -> None:
    op.add_column('page_contents', sa.Column('about_hero_image', sa.Text(), nullable=True))
    op.add_column('page_contents', sa.Column('mission', sa.Text(), nullable=True))
    op.add_column('page_contents', sa.Column('vision', sa.Text(), nullable=True))
    op.add_column('page_contents', sa.Column('team', sa.Text(), nullable=True))
    op.add_column('page_contents', sa.Column('timeline', sa.Text(), nullable=True))
    op.add_column('page_contents', sa.Column('achievements', sa.Text(), nullable=True))

def downgrade() -> None:
    op.drop_column('page_contents', 'achievements')
    op.drop_column('page_contents', 'timeline')
    op.drop_column('page_contents', 'team')
    op.drop_column('page_contents', 'vision')
    op.drop_column('page_contents', 'mission')
    op.drop_column('page_contents', 'about_hero_image')