fix: multi-tenant phase 2
This commit is contained in:
1 parent
267904be29
commit
f514818e5d
16 files changed
+56
-37
No files matched your search
@@ -33,7 +33,7 @@ CREATE TABLE `kpi_report` (
|
||||
`granularity` tinyint(4) NULL DEFAULT 60 COMMENT 'Time granualarity: 5/10/.../60/300 (second)',
|
||||
`kpi_values` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
|
||||
`created_at` bigint(20) NULL DEFAULT NULL,
|
||||
`tenant_name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
|
||||
`tenant_id` varchar(32) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `idx_timestamp`(`created_at`) USING BTREE,
|
||||
INDEX `idx_uid_datetime`(`rm_uid`, `date`, `start_time`) USING BTREE
|
||||
|
||||
Reference in new issue
Block a user