INSERT IGNORE INTO virtual_accounts (dollar_balance) VALUES ('100') WHERE uid='bc7fc8ed-f75b-45a0-ad9d-103313551c62'
It should be:
INSERT IGNORE INTO virtual_accounts (uuid) VALUES ('bc7fc8ed-f75b-45a0-ad9d-103313551c62');
UPDATE virtual_accounts SET dollar_balance='100' WHERE uid='bc7fc8ed-f75b-45a0-ad9d-103313551c62'
There is SQL syntax error when creating a virtual account with uuid (String).
see https://github.com/Erigitic/TotalEconomy/issues/323
It should be: