-- +goose Up
ALTER TABLE forces_present
  ADD COLUMN note VARCHAR(255) NULL AFTER description,
  ADD COLUMN sortkey INT NULL AFTER name,
  ADD COLUMN is_active TINYINT(1) NOT NULL DEFAULT 1 AFTER sortkey,
  ADD KEY idx_forces_present_sortkey (sortkey),
  ADD KEY idx_forces_present_is_active (is_active);

-- +goose Down
ALTER TABLE forces_present
  DROP KEY idx_forces_present_sortkey,
  DROP KEY idx_forces_present_is_active,
  DROP COLUMN sortkey,
  DROP COLUMN note,
  DROP COLUMN is_active;
