mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-17 10:42:25 -05:00
22 lines
498 B
Python
22 lines
498 B
Python
|
|
"""
|
||
|
|
|
||
|
|
Revision ID: 0362_broadcast_msg_event
|
||
|
|
Revises: 0361_new_user_bcast_permissions
|
||
|
|
Create Date: 2020-12-04 15:06:22.544803
|
||
|
|
|
||
|
|
"""
|
||
|
|
from alembic import op
|
||
|
|
import sqlalchemy as sa
|
||
|
|
from sqlalchemy.dialects import postgresql
|
||
|
|
|
||
|
|
revision = '0362_broadcast_msg_event'
|
||
|
|
down_revision = '0361_new_user_bcast_permissions'
|
||
|
|
|
||
|
|
|
||
|
|
def upgrade():
|
||
|
|
op.add_column('broadcast_message', sa.Column('cap_event', sa.String(length=255), nullable=True))
|
||
|
|
|
||
|
|
|
||
|
|
def downgrade():
|
||
|
|
op.drop_column('broadcast_message', 'cap_event')
|