<reponame>RagtagOpen/carpools<filename>migrations/versions/5a7e3f87a252_add_hidden_to_destinations.py<gh_stars>10-100
"""add hidden to destinations

Revision ID: 5a7e3f87a252
Revises: <KEY>
Create Date: 2017-09-09 20:57:16.815952

"""
from alembic import op
import sqlalchemy as sa
import geoalchemy2


# revision identifiers, used by Alembic.
revision = '5a7e3f87a252'
down_revision = '<KEY>'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('destinations', sa.Column('hidden', sa.Boolean(), nullable=True))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('destinations', 'hidden')
    # ### end Alembic commands ###
