Bugfixing

This commit is contained in:
Michal Kváček
2024-05-07 08:24:29 +02:00
parent a706303155
commit 62e46f37ce
5 changed files with 21 additions and 12 deletions
@@ -37,13 +37,11 @@ def upgrade() -> None:
type_=sa.String(length=256),
existing_nullable=False)
op.create_foreign_key(None, 'flight_plan', 'aircraft', ['aircraft_id'], ['id'])
op.drop_column('point_of_interest_type', 'openaip_id')
# ### end Alembic commands ###
def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('point_of_interest_type', sa.Column('openaip_id', mysql.VARCHAR(length=32), nullable=False))
op.drop_constraint(None, 'flight_plan', type_='foreignkey')
op.alter_column('flight_plan', 'name',
existing_type=sa.String(length=256),