-- +goose Up
ALTER TABLE after_flight_inspections
  DROP CHECK chk_after_flight_ac_oil_upload_liter;

ALTER TABLE after_flight_inspections
  DROP COLUMN ac_oil_upload_liter;

-- +goose Down
ALTER TABLE after_flight_inspections
  ADD COLUMN ac_oil_upload_liter DECIMAL(10,2) NULL;

ALTER TABLE after_flight_inspections
  ADD CONSTRAINT chk_after_flight_ac_oil_upload_liter CHECK (ac_oil_upload_liter IS NULL OR ac_oil_upload_liter >= 0);
