QUERY: INSERT INTO `chars` (`name`,`updated`,`avatar`,`main`,`faction`,`rio_score`,`character_id`,`gender`,`race`,`raceid`,`class`,`classid`,`active_spec`,`active_spec_id`,`realm`,`realm_id`,`realm_slug`,`guild`,`guild_id`,`level`,`achievement_points`,`last_login_timestamp`,`average_item_level`,`equipped_item_level`,`covenant_name`,`covenant_id`,`covenant_renown_level`,`quarantine`,`hk`,`2v2_rank`,`2v2_games`,`2v2_wins`,`3v3_rank`,`3v3_games`,`3v3_wins`,`rbg_rank`,`rbg_games`,`rbg_wins`) VALUES ('Inflicto', '2021-02-25 21:10:26', 'kazzak_27_188942107-avatar.jpg', 'kazzak_27_188942107-main.jpg', 'Horde', 865.8, NULL, 'Male', 'Troll', 8, 'Warlock', 9, 'Affliction', 265, 'Kazzak', 1305, 'kazzak', 'VoVeriai', 30991452, 60, 9530, '2021-02-23 21:39:35', 218, 216, 'Night Fae', 3, 26, 0, 0, 0, 0, 0, 1378, 515, 237, 953, 12, 5) ON DUPLICATE KEY UPDATE `name`='Inflicto', `updated`='2021-02-25 21:10:26', `avatar`='kazzak_27_188942107-avatar.jpg', `main`='kazzak_27_188942107-main.jpg', `faction`='Horde', `rio_score`=865.8, `character_id`=NULL, `gender`='Male', `race`='Troll', `raceid`=8, `class`='Warlock', `classid`=9, `active_spec`='Affliction', `active_spec_id`=265, `realm`='Kazzak', `realm_id`=1305, `realm_slug`='kazzak', `guild`='VoVeriai', `guild_id`=30991452, `level`=60, `achievement_points`=9530, `last_login_timestamp`='2021-02-23 21:39:35', `average_item_level`=218, `equipped_item_level`=216, `covenant_name`='Night Fae', `covenant_id`=3, `covenant_renown_level`=26, `quarantine`=0, `hk`=0, `2v2_rank`=0, `2v2_games`=0, `2v2_wins`=0, `3v3_rank`=1378, `3v3_games`=515, `3v3_wins`=237, `rbg_rank`=953, `rbg_games`=12, `rbg_wins`=5
ERROR: Column 'character_id' cannot be null