Bugfixing
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user