Drop making crown not nullable on downgrade as it would fail anyway

This commit is contained in:
Pea Tyczynska
2019-07-18 15:16:37 +01:00
parent 610bf5d149
commit aa88252cf7
2 changed files with 1 additions and 3 deletions

View File

@@ -43,5 +43,3 @@ def upgrade():
def downgrade():
op.execute('DROP TABLE organisation_types')
op.alter_column('services', 'crown', nullable=False)
op.alter_column('services_history', 'crown', nullable=False)