exchangemarket/args/truncateAll.sql
sairajzero 67c31d79a9 Multiple asset support
2 types of property:
1. Cash - main/central currency used for trading
2. Asset - (FLO/tokens) Can be brought or sold in the exchange market .

- Allow multiple tokens to act as asset in addition to FLO.
- Changes required for the above in deposits, withdraws, placing orders
- some code optimization in market.js
- Updated SQL schema
2022-02-02 04:17:47 +05:30

23 lines
429 B
SQL

/* Node data */
TRUNCATE _backup;
TRUNCATE auditTransaction;
TRUNCATE BuyOrder;
TRUNCATE Cash;
TRUNCATE inputFLO;
TRUNCATE inputToken;
TRUNCATE outputFLO;
TRUNCATE outputToken;
TRUNCATE priceHistory;
TRUNCATE Request_Log;
TRUNCATE SellOrder;
TRUNCATE Sessions;
TRUNCATE Tags;
TRUNCATE Transactions;
TRUNCATE Vault;
TRUNCATE Users;
/* Blockchain data */
TRUNCATE lastTx;
TRUNCATE nodeList;
TRUNCATE trustedList;
TRUNCATE TagList;