-- +goose Up
ALTER TABLE vocations
  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_vocations_sortkey (sortkey),
  ADD KEY idx_vocations_is_active (is_active);

-- +goose Down
ALTER TABLE vocations
  DROP KEY idx_vocations_sortkey,
  DROP KEY idx_vocations_is_active,
  DROP COLUMN sortkey,
  DROP COLUMN note,
  DROP COLUMN is_active;
