-- Customer loans were merged into lay-buys: the create/edit UI no longer
-- offers a 'loan' vs 'laybuy' choice, and every new record is written as
-- 'laybuy'. Existing rows still carrying the legacy 'loan' value are
-- reclassified as 'laybuy' so payment completion always requires the
-- item-code assignment step (see classes/Laybuy.php::recordPayment).
-- Note: classes/Laybuy.php also self-heals this on every request via
-- ensureAllRecordsAreLaybuys(), so running this manually is optional.
UPDATE loans_laybuys SET method = 'laybuy' WHERE method = 'loan';
