Open backenders-game opened 3 years ago
Steps to fix:
install https://sqlitebrowser.org
open your byteball.sqlite (in your data folder) with this program
execute these queries:
DROP TABLE asset_metadata;
CREATE TABLE asset_metadata (
asset CHAR(44) NOT NULL PRIMARY KEY,
metadata_unit CHAR(44) NOT NULL,
registry_address CHAR(32) NULL,
suffix VARCHAR(20) NULL,
name VARCHAR(20) NULL,
decimals TINYINT NULL,
creation_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE (name, registry_address),
FOREIGN KEY (asset) REFERENCES assets(unit),
FOREIGN KEY (metadata_unit) REFERENCES units(unit)
);
click "Write Changes" button
After issue "Uncaught exception: Error: checkBalances failed #602" I deleted my data and started to restore again. Now after restoration i am getting error:
Uncaught exception: Error: Error: SQLITE_ERROR: no such column: creation_date SELECT asset, metadata_unit, name, suffix, decimals, registry_address, strftime('%s', creation_date) AS timestamp FROM asset_metadata