Jake Vanderwerf
2025-10-20 e729f920139f0c65902be2d6b2c32466b08375e8
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,