Table 'cscart_affiliate_agents' already exists (1050)
CREATE TABLE `cscart_affiliate_agents` ( `affiliate_id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, `user_id` INT(11) UNSIGNED NOT NULL, `commission_percentage` DECIMAL(5,2) DEFAULT 10.00, `total_vendors` INT(11) DEFAULT 0, `total_commission_earned` DECIMAL(12,2) DEFAULT 0.00, `status` CHAR(1) DEFAULT 'A', `created_at` INT(11) UNSIGNED NOT NULL, `updated_at` INT(11) UNSIGNED, UNIQUE KEY `ux_user_id` (`user_id`), KEY `idx_status` (`status`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
app/Tygh/Database/Connection.php, line: 1713
| File: | app/Tygh/Database/Connection.php |
| Line: | 1490 |
| Function: | throwError |
| File: | app/Tygh/Database/Connection.php |
| Line: | 700 |
| Function: | execQuery |
| File: | app/functions/fn.database.php |
| Line: | 138 |
| Function: | query |
| File: | app/addons/affiliate_b2b_manager/func.php |
| Line: | 30 |
| Function: | db_query |
| File: | app/addons/affiliate_b2b_manager/func.php |
| Line: | 96 |
| Function: | fn_affiliate_b2b_ensure_db |
| File: | app/Tygh/Addons/AXmlScheme.php |
| Line: | 859 |
| Function: | require_once |
| File: | app/functions/fn.addons.php |
| Line: | 1682 |
| Function: | loadAddon |
| File: | app/functions/fn.init.php |
| Line: | 1141 |
| Function: | fn_load_addon |
| File: | app/functions/fn.init.php |
| Line: | 1234 |
| Function: | fn_init_addons |
| File: | init.php |
| Line: | 196 |
| Function: | fn_init |
| File: | index.php |
| Line: | 18 |
| Function: | require |