- Removed: Immutable table-type (Previously immutable tables are now considered as mutable tables in backup feature) - Backup sync-data from master are temporally cached and then processed after receiving all sync-data - Backup sync-data from cache are now processed in ordered manner (to prevent foreign key constrain error, repeated data, re-adding a deleted data) - Updated SQL Schema
24 lines
470 B
SQL
24 lines
470 B
SQL
/* Node data */
|
|
TRUNCATE _backup;
|
|
TRUNCATE AuditTransaction;
|
|
TRUNCATE BuyOrder;
|
|
TRUNCATE Cash;
|
|
TRUNCATE InputFLO;
|
|
TRUNCATE InputToken;
|
|
TRUNCATE OutputFLO;
|
|
TRUNCATE OutputToken;
|
|
TRUNCATE PriceHistory;
|
|
TRUNCATE RequestLog;
|
|
TRUNCATE SellOrder;
|
|
TRUNCATE UserSession;
|
|
TRUNCATE UserTag;
|
|
TRUNCATE TransactionHistory;
|
|
TRUNCATE Vault;
|
|
DELETE FROM Users;
|
|
|
|
/* Blockchain data */
|
|
TRUNCATE LastTx;
|
|
TRUNCATE NodeList;
|
|
TRUNCATE TrustedList;
|
|
DELETE FROM TagList;
|
|
DELETE FROM AssetList; |