mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-11 18:38:14 -04:00
Merge branch 'master' into firetext-inbound-sms-not-null-provider
Conflicts: tests/app/db.py
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
"""empty message
|
||||
|
||||
Revision ID: 0097_notnull_inbound_provider
|
||||
Revises: 0096_update_job_stats
|
||||
Create Date: 2017-06-02 16:50:11.698423
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '0097_notnull_inbound_provider'
|
||||
down_revision = '0096_update_job_stats'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.alter_column('inbound_sms', 'provider',
|
||||
existing_type=sa.VARCHAR(),
|
||||
nullable=False)
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.alter_column('inbound_sms', 'provider',
|
||||
existing_type=sa.VARCHAR(),
|
||||
nullable=True)
|
||||
Reference in New Issue
Block a user