-- items.unique_code is VARCHAR(50); laybuy_codes.unique_code was VARCHAR(11),
-- which rejected longer item codes (e.g. 'GGC/2500003640021') when assigning
-- a unique code on final laybuy payment ("Data too long for column" error).
-- Note: classes/Laybuy.php also self-heals this column on every request.
ALTER TABLE laybuy_codes MODIFY unique_code VARCHAR(50) NOT NULL;
