-- +goose Up
ALTER TABLE nationalities
  ADD COLUMN sortkey INT NULL AFTER name,
  ADD COLUMN is_active TINYINT(1) NOT NULL DEFAULT 1 AFTER note,
  ADD KEY idx_nationalities_sortkey (sortkey),
  ADD KEY idx_nationalities_is_active (is_active);

-- +goose Down
ALTER TABLE nationalities
  DROP KEY idx_nationalities_is_active,
  DROP KEY idx_nationalities_sortkey,
  DROP COLUMN is_active,
  DROP COLUMN sortkey;
