-- Migration: Hardware-ID v2 support for license_activations
-- Date: 2026-08-06

ALTER TABLE license_activations
  ADD COLUMN hwid_version TINYINT NOT NULL DEFAULT 1 AFTER hardware_id,
  ADD COLUMN hwid_source  VARCHAR(32) NULL      AFTER hwid_version,
  ADD COLUMN platform     VARCHAR(8)  NULL      AFTER hwid_source;
