-- Backup of original 02-core-functions.sql before Phase 2 refactoring -- This file is kept as reference only