-- +goose Up

ALTER TABLE users
  ADD COLUMN token_version BIGINT NOT NULL DEFAULT 0 COMMENT '用户会话版本，递增后旧令牌失效';

-- +goose Down

ALTER TABLE users
  DROP COLUMN token_version;
