mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-11 18:38:14 -04:00
reformat
This commit is contained in:
@@ -10,20 +10,20 @@ Create Date: 2016-06-15 15:51:41.355149
|
||||
|
||||
from sqlalchemy.dialects import postgresql
|
||||
|
||||
revision = '0030_service_id_not_null'
|
||||
down_revision = '0029_fix_email_from'
|
||||
revision = "0030_service_id_not_null"
|
||||
down_revision = "0029_fix_email_from"
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.alter_column('permissions', 'service_id',
|
||||
existing_type=postgresql.UUID(),
|
||||
nullable=True)
|
||||
op.alter_column(
|
||||
"permissions", "service_id", existing_type=postgresql.UUID(), nullable=True
|
||||
)
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.alter_column('permissions', 'service_id',
|
||||
existing_type=postgresql.UUID(),
|
||||
nullable=False)
|
||||
op.alter_column(
|
||||
"permissions", "service_id", existing_type=postgresql.UUID(), nullable=False
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user