Server creation problem
Posted: Mon May 16, 2016 10:33 pm
Hi there,
So I'm attempting to make a server for a senior project, following this guide: https://wiki.dspt.info/index.php?title= ... ource_Code
I have so far gotten to the Navicat portion. It seems that everything is going fine, although, in the tables list, the blacklist is not showing and when I attempt to execute "trigger", it comes up with an error. I proceeded to open the design table, and in the triggers tab, there is nothing there. As the instructions say, open the Accounts table, and add a new trigger, make fires column before, and to check the Delete column. In the definitions box, I add these queries:
DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;
DELETE FROM `chars` WHERE `accid` = OLD.id;
When I hit save, it says 1054 Unknown column 'id' in 'OLD'.
Do I have the right Account table? What am I missing? I have:
account_ip_record
accounts_parties
accounts_sessions
Thanks for your time guys
So I'm attempting to make a server for a senior project, following this guide: https://wiki.dspt.info/index.php?title= ... ource_Code
I have so far gotten to the Navicat portion. It seems that everything is going fine, although, in the tables list, the blacklist is not showing and when I attempt to execute "trigger", it comes up with an error. I proceeded to open the design table, and in the triggers tab, there is nothing there. As the instructions say, open the Accounts table, and add a new trigger, make fires column before, and to check the Delete column. In the definitions box, I add these queries:
DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;
DELETE FROM `chars` WHERE `accid` = OLD.id;
When I hit save, it says 1054 Unknown column 'id' in 'OLD'.
Do I have the right Account table? What am I missing? I have:
account_ip_record
accounts_parties
accounts_sessions
Thanks for your time guys