code: func (ssa *SQLStorageAuthority) DeactivateRegistration(ctx context.Context, id int64) error {
  	_, err := ssa.dbMap.WithContext(ctx).Exec(
  		"UPDATE registrations SET status = ? WHERE status = ? AND id = ?",
  		string(core.StatusDeactivated),
  		string(core.StatusValid),
  		id,
  	)
  	return err
  }
docs: // DeactivateRegistration deactivates a currently valid registration