summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/database-layout.dump5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/database-layout.dump b/misc/database-layout.dump
index 010fdfd..f9fbde3 100644
--- a/misc/database-layout.dump
+++ b/misc/database-layout.dump
@@ -892,8 +892,11 @@ statistics CREATE TABLE `statistics` (
`locked_tasks_count` mediumint(9) NOT NULL,
`blocked_tasks_count` mediumint(9) NOT NULL,
`next_tasks_count` mediumint(9) NOT NULL,
+ `architecture` smallint(6) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
- UNIQUE KEY `date` (`date`)
+ UNIQUE KEY `date_architecture` (`date`,`architecture`),
+ KEY `architecture` (`architecture`),
+ CONSTRAINT `statistics_ibfk_1` FOREIGN KEY (`architecture`) REFERENCES `architectures` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
todo_links CREATE TABLE `todo_links` (
`dependent` bigint(20) NOT NULL,