- Renamed all `status` columns to `r_status` - r_status uses INT instead of VARCHAR - status-codes are used instead of strings - Codes for status and modes can be found at floExchangeAPI.processCode - Merged DepositCoin, WithdrawCoin, DepositToken, WithdrawToken into VaultTransactions so that all deposit/withdraw transactions can be viewed in order - Updated relevant SQL syntaxes for the above - Converted all multi-valued placeholders in SQL queries to array based placeholders - Fixed minor bugs
31 lines
685 B
SQL
31 lines
685 B
SQL
/* Node data */
|
|
TRUNCATE _backup;
|
|
TRUNCATE _backupCache;
|
|
TRUNCATE AuditTrade;
|
|
TRUNCATE BuyOrder;
|
|
TRUNCATE Distributors;
|
|
TRUNCATE VaultTransactions;
|
|
TRUNCATE PriceHistory;
|
|
TRUNCATE RequestLog;
|
|
TRUNCATE SellOrder;
|
|
TRUNCATE UserBalance;
|
|
TRUNCATE UserSession;
|
|
TRUNCATE UserTag;
|
|
TRUNCATE TransferTransactions;
|
|
TRUNCATE TradeTransactions;
|
|
TRUNCATE SellChips;
|
|
TRUNCATE CloseBondTransact;
|
|
TRUNCATE CloseFundTransact;
|
|
TRUNCATE ConvertFund;
|
|
TRUNCATE DirectConvert;
|
|
TRUNCATE RefundTransact;
|
|
|
|
/* Blockchain data */
|
|
TRUNCATE LastTx;
|
|
TRUNCATE NodeList;
|
|
TRUNCATE TrustedList;
|
|
DELETE FROM BlockchainBonds;
|
|
TRUNCATE BobsFundInvestments;
|
|
DELETE FROM BobsFund;
|
|
DELETE FROM TagList;
|
|
DELETE FROM AssetList; |