debug, deleting assets

This commit is contained in:
Blue 2024-01-21 16:23:48 -03:00
parent 19d786631a
commit a2c2c2a883
Signed by: blue
GPG key ID: 9B203B252A63EE38
20 changed files with 139 additions and 21 deletions

View file

@ -56,6 +56,7 @@ CREATE TABLE IF NOT EXISTS currencies (
`value` DECIMAL (20, 5) NOT NULL,
`source` TEXT,
`description` TEXT,
`icon` VARCHAR(256),
INDEX manual_idx (manual)
);
@ -71,6 +72,7 @@ CREATE TABLE IF NOT EXISTS assets (
`balance` DECIMAL (20, 5) DEFAULT 0,
`type` INTEGER UNSIGNED NOT NULL,
`archived` BOOLEAN DEFAULT FALSE,
`created` TIMESTAMP DEFAULT UTC_TIMESTAMP(),
INDEX owner_idx (owner),
INDEX archived_idx (archived),