SQL reference: 10_rls_referrals
Production API: https://asi-database-node-api.arybit.co.ke
Source: Database/10_rls_referrals.sql
Engine: MySQL legacy. Status: disabled; qualification pending.
Migration ID: 10_rls_referrals. SHA-256 (LF): 3dff35d3e25b71f578b4481dc375cd318a132af36d822d2dadc2fa263bf0af8e.
Pending isolated MySQL/MariaDB compatibility, dependency and tenant-isolation validation.
Source overview
========================================================= Arybit Auth - Schema Module (MySQL Version) MODULE: 10_rls_referrals VERSION: 2.1.0 • December 28, 2025 Production-Ready • MySQL / MariaDB Compatible
Referral system access control helpers Implements secure patterns for referral_codes & referrals tables
Declared objects
create_referral_code_safeget_my_referral_codeget_my_referred_usersget_my_referreris_valid_referral_coderecord_referral_safe
This is a static source reference, not a runtime qualification. Object extraction does not interpret SQL semantics. Review the source and manifest before any schema change.