Jake Vanderwerf
2025-09-30 19d20832e881112d197254b1c41edc4c0f03758e
referral update
1 files modified
4 ■■■■ changed files
inc/registry/CheckCustomTables.php 4 ●●●● patch | view | raw | blame | history
inc/registry/CheckCustomTables.php
@@ -1164,7 +1164,7 @@
        $tables = [];
        // Main referrals table
        $tables[BASE . 'referrals'] = "(
        $tables['referrals'] = "(
        `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
        `referrer_id` bigint(20) unsigned NOT NULL,
        `referee_id` bigint(20) unsigned NOT NULL,
@@ -1189,7 +1189,7 @@
    )";
        // Rewards table
        $tables[BASE . 'referral_rewards'] = "(
        $tables['referral_rewards'] = "(
        `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
        `referral_id` bigint(20) unsigned NOT NULL,
        `user_id` bigint(20) unsigned NOT NULL,