-- Keep the actual vehicle brand in the OneOS-owned supplemental master data.
-- vehicle_identity_binding.oem may describe a TBox/GPS platform and remains
-- untouched for gateway compatibility and historical audit.
ALTER TABLE vehicle_profile
  ADD COLUMN brand_name VARCHAR(128) NOT NULL DEFAULT '' AFTER vin;

CREATE INDEX idx_vehicle_profile_brand ON vehicle_profile(brand_name);
