Drone flights and Bulk Logging WIPs

This commit is contained in:
2026-06-19 17:27:33 -04:00
parent 1952b89ecf
commit 78d738b0ee
18 changed files with 2051 additions and 70 deletions
@@ -17,8 +17,11 @@ depends_on = None
def upgrade() -> None:
op.add_column('submitted', sa.Column('acknowledged_dt', sa.DateTime(), nullable=True))
op.add_column('submitted', sa.Column('acknowledged_by', sa.String(length=50), nullable=True))
op.alter_column('local_flights', 'pob', existing_type=sa.Integer(), nullable=True)
def downgrade() -> None:
op.execute("UPDATE local_flights SET pob = 1 WHERE pob IS NULL")
op.alter_column('local_flights', 'pob', existing_type=sa.Integer(), nullable=False)
op.drop_column('submitted', 'acknowledged_by')
op.drop_column('submitted', 'acknowledged_dt')