Added nice chart for account history.
This commit is contained in:
1 parent
80153dd6ad
commit
e76a521356
14 files changed
+126
-188
No files matched your search
@@ -80,12 +80,13 @@ CREATE TABLE IF NOT EXISTS accounts
|
||||
|
||||
CREATE TABLE IF NOT EXISTS accounts_history
|
||||
(
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
account_id INTEGER NOT NULL,
|
||||
account_version INTEGER NOT NULL,
|
||||
amount INTEGER NOT NULL,
|
||||
timestamp DATETIME NOT NULL,
|
||||
FOREIGN KEY (account_id) REFERENCES accounts (id),
|
||||
PRIMARY KEY (account_id, account_version)
|
||||
UNIQUE (account_id, account_version)
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS account_user_permissions
|
||||
|
||||
Reference in new issue
Block a user