1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-06-04 00:53:50 -04:00

Change dailyRate to hourlyRate, added math to calculate the rates

This commit is contained in:
Ean Milligan (Bastion)
2022-06-25 16:26:48 -04:00
parent b69cf2060f
commit 2b22df032c
6 changed files with 63 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ await dbClient.execute(`
CREATE TABLE command_cnt (
command char(20) NOT NULL,
count bigint unsigned NOT NULL DEFAULT 0,
dailyRate float unsigned NOT NULL DEFAULT 0,
hourlyRate float unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (command),
UNIQUE KEY command_cnt_command_UNIQUE (command)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;