mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-09 14:42:24 -05:00
23 lines
559 B
Python
23 lines
559 B
Python
"""
|
|
|
|
Revision ID: 0168_hidden_templates
|
|
Revises: 0167_add_precomp_letter_svc_perm
|
|
Create Date: 2018-02-21 14:05:04.448977
|
|
|
|
"""
|
|
import sqlalchemy as sa
|
|
from alembic import op
|
|
|
|
revision = "0168_hidden_templates"
|
|
down_revision = "0167_add_precomp_letter_svc_perm"
|
|
|
|
|
|
def upgrade():
|
|
op.add_column("templates", sa.Column("hidden", sa.Boolean(), nullable=True))
|
|
op.add_column("templates_history", sa.Column("hidden", sa.Boolean(), nullable=True))
|
|
|
|
|
|
def downgrade():
|
|
op.drop_column("templates_history", "hidden")
|
|
op.drop_column("templates", "hidden")
|