-- +goose Up
ALTER TABLE facilities
  ADD COLUMN sortkey INT NULL AFTER type,
  ADD KEY idx_facilities_sortkey (sortkey);

-- +goose Down
ALTER TABLE facilities
  DROP KEY idx_facilities_sortkey,
  DROP COLUMN sortkey;
