-- +goose Up
ALTER TABLE bmds
  ADD COLUMN note VARCHAR(255) NULL AFTER country_name,
  ADD COLUMN sortkey INT NULL AFTER country_name,
  ADD COLUMN is_active TINYINT(1) NOT NULL DEFAULT 1 AFTER sortkey,
  ADD KEY idx_bmds_sortkey (sortkey),
  ADD KEY idx_bmds_is_active (is_active);

-- +goose Down
ALTER TABLE bmds
  DROP KEY idx_bmds_sortkey,
  DROP KEY idx_bmds_is_active,
  DROP COLUMN sortkey,
  DROP COLUMN note,
  DROP COLUMN is_active;
