mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 17:45:41 -04:00
reformat
This commit is contained in:
@@ -7,8 +7,8 @@ Create Date: 2017-07-06 10:14:35.188404
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '0108_change_logo_not_nullable'
|
||||
down_revision = '0107_drop_template_stats'
|
||||
revision = "0108_change_logo_not_nullable"
|
||||
down_revision = "0107_drop_template_stats"
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
@@ -16,12 +16,12 @@ from sqlalchemy.dialects import postgresql
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.alter_column('organisation', 'logo',
|
||||
existing_type=sa.VARCHAR(length=255),
|
||||
nullable=False)
|
||||
op.alter_column(
|
||||
"organisation", "logo", existing_type=sa.VARCHAR(length=255), nullable=False
|
||||
)
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.alter_column('organisation', 'logo',
|
||||
existing_type=sa.VARCHAR(length=255),
|
||||
nullable=True)
|
||||
op.alter_column(
|
||||
"organisation", "logo", existing_type=sa.VARCHAR(length=255), nullable=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user