Skip to content

Commit 168f632

Browse files
committed
fix: metrics
1 parent da25ef4 commit 168f632

File tree

5 files changed

+776
-65
lines changed

5 files changed

+776
-65
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
CREATE TABLE `client_label` (
2+
`deployment_id` text NOT NULL,
3+
`client_id` text NOT NULL,
4+
`label` text NOT NULL,
5+
PRIMARY KEY(`client_id`, `deployment_id`)
6+
);
7+
--> statement-breakpoint
8+
CREATE TABLE `metric` (
9+
`deployment_id` text NOT NULL,
10+
`label` text NOT NULL,
11+
`type` text NOT NULL,
12+
`count` integer NOT NULL,
13+
PRIMARY KEY(`deployment_id`, `label`, `type`)
14+
);

0 commit comments

Comments
 (0)