@kernhq/module-tracker 0.11.4 → 0.11.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/router.d.ts +2261 -133
- package/dist/server/router.d.ts.map +1 -1
- package/migrations/0000_init.sql +96 -96
- package/migrations/0001_rls.sql +64 -0
- package/migrations/0002_field_keys_unique.sql +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/server/router.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,MAAM,EACX,KAAK,cAAc,EAIpB,MAAM,gBAAgB,CAAA;AAgCvB;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA68B3C"}
|
package/migrations/0000_init.sql
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
CREATE SCHEMA IF NOT EXISTS "mod_tracker";
|
|
2
2
|
--> statement-breakpoint
|
|
3
|
-
CREATE TABLE "mod_tracker"."attachments" (
|
|
3
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."attachments" (
|
|
4
4
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
5
5
|
"workspace_id" uuid NOT NULL,
|
|
6
6
|
"issue_id" uuid NOT NULL,
|
|
@@ -12,7 +12,7 @@ CREATE TABLE "mod_tracker"."attachments" (
|
|
|
12
12
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
13
13
|
);
|
|
14
14
|
--> statement-breakpoint
|
|
15
|
-
CREATE TABLE "mod_tracker"."comment_reactions" (
|
|
15
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."comment_reactions" (
|
|
16
16
|
"comment_id" uuid NOT NULL,
|
|
17
17
|
"workspace_id" uuid NOT NULL,
|
|
18
18
|
"user_id" uuid NOT NULL,
|
|
@@ -21,7 +21,7 @@ CREATE TABLE "mod_tracker"."comment_reactions" (
|
|
|
21
21
|
CONSTRAINT "comment_reactions_comment_id_user_id_emoji_pk" PRIMARY KEY("comment_id","user_id","emoji")
|
|
22
22
|
);
|
|
23
23
|
--> statement-breakpoint
|
|
24
|
-
CREATE TABLE "mod_tracker"."comments" (
|
|
24
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."comments" (
|
|
25
25
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
26
26
|
"workspace_id" uuid NOT NULL,
|
|
27
27
|
"issue_id" uuid NOT NULL,
|
|
@@ -40,7 +40,7 @@ CREATE TABLE "mod_tracker"."comments" (
|
|
|
40
40
|
"search" "tsvector" GENERATED ALWAYS AS (to_tsvector('simple', coalesce(body_text, ''))) STORED
|
|
41
41
|
);
|
|
42
42
|
--> statement-breakpoint
|
|
43
|
-
CREATE TABLE "mod_tracker"."components" (
|
|
43
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."components" (
|
|
44
44
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
45
45
|
"workspace_id" uuid NOT NULL,
|
|
46
46
|
"project_id" uuid NOT NULL,
|
|
@@ -52,7 +52,7 @@ CREATE TABLE "mod_tracker"."components" (
|
|
|
52
52
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
53
53
|
);
|
|
54
54
|
--> statement-breakpoint
|
|
55
|
-
CREATE TABLE "mod_tracker"."cycles" (
|
|
55
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."cycles" (
|
|
56
56
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
57
57
|
"workspace_id" uuid NOT NULL,
|
|
58
58
|
"project_id" uuid NOT NULL,
|
|
@@ -70,7 +70,7 @@ CREATE TABLE "mod_tracker"."cycles" (
|
|
|
70
70
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
71
71
|
);
|
|
72
72
|
--> statement-breakpoint
|
|
73
|
-
CREATE TABLE "mod_tracker"."field_defs" (
|
|
73
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."field_defs" (
|
|
74
74
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
75
75
|
"workspace_id" uuid NOT NULL,
|
|
76
76
|
"project_id" uuid,
|
|
@@ -90,7 +90,7 @@ CREATE TABLE "mod_tracker"."field_defs" (
|
|
|
90
90
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
91
91
|
);
|
|
92
92
|
--> statement-breakpoint
|
|
93
|
-
CREATE TABLE "mod_tracker"."field_schemes" (
|
|
93
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."field_schemes" (
|
|
94
94
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
95
95
|
"workspace_id" uuid NOT NULL,
|
|
96
96
|
"name" text NOT NULL,
|
|
@@ -98,13 +98,13 @@ CREATE TABLE "mod_tracker"."field_schemes" (
|
|
|
98
98
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
99
99
|
);
|
|
100
100
|
--> statement-breakpoint
|
|
101
|
-
CREATE TABLE "mod_tracker"."hierarchy_rules" (
|
|
101
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."hierarchy_rules" (
|
|
102
102
|
"workspace_id" uuid PRIMARY KEY NOT NULL,
|
|
103
103
|
"rules" jsonb DEFAULT '{}'::jsonb NOT NULL,
|
|
104
104
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
105
105
|
);
|
|
106
106
|
--> statement-breakpoint
|
|
107
|
-
CREATE TABLE "mod_tracker"."import_jobs" (
|
|
107
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."import_jobs" (
|
|
108
108
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
109
109
|
"workspace_id" uuid NOT NULL,
|
|
110
110
|
"project_id" uuid NOT NULL,
|
|
@@ -120,14 +120,14 @@ CREATE TABLE "mod_tracker"."import_jobs" (
|
|
|
120
120
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
121
121
|
);
|
|
122
122
|
--> statement-breakpoint
|
|
123
|
-
CREATE TABLE "mod_tracker"."intake_tokens" (
|
|
123
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."intake_tokens" (
|
|
124
124
|
"token" text PRIMARY KEY NOT NULL,
|
|
125
125
|
"workspace_id" uuid NOT NULL,
|
|
126
126
|
"project_id" uuid NOT NULL,
|
|
127
127
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
128
128
|
);
|
|
129
129
|
--> statement-breakpoint
|
|
130
|
-
CREATE TABLE "mod_tracker"."issue_approvals" (
|
|
130
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."issue_approvals" (
|
|
131
131
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
132
132
|
"workspace_id" uuid NOT NULL,
|
|
133
133
|
"issue_id" uuid NOT NULL,
|
|
@@ -137,14 +137,14 @@ CREATE TABLE "mod_tracker"."issue_approvals" (
|
|
|
137
137
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
138
138
|
);
|
|
139
139
|
--> statement-breakpoint
|
|
140
|
-
CREATE TABLE "mod_tracker"."issue_counters" (
|
|
140
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."issue_counters" (
|
|
141
141
|
"project_id" uuid PRIMARY KEY NOT NULL,
|
|
142
142
|
"workspace_id" uuid NOT NULL,
|
|
143
143
|
"last_issue_number" integer DEFAULT 0 NOT NULL,
|
|
144
144
|
"last_cycle_number" integer DEFAULT 0 NOT NULL
|
|
145
145
|
);
|
|
146
146
|
--> statement-breakpoint
|
|
147
|
-
CREATE TABLE "mod_tracker"."issue_history" (
|
|
147
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."issue_history" (
|
|
148
148
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
149
149
|
"workspace_id" uuid NOT NULL,
|
|
150
150
|
"issue_id" uuid NOT NULL,
|
|
@@ -155,7 +155,7 @@ CREATE TABLE "mod_tracker"."issue_history" (
|
|
|
155
155
|
"occurred_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
156
156
|
);
|
|
157
157
|
--> statement-breakpoint
|
|
158
|
-
CREATE TABLE "mod_tracker"."issue_status_history" (
|
|
158
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."issue_status_history" (
|
|
159
159
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
160
160
|
"workspace_id" uuid NOT NULL,
|
|
161
161
|
"issue_id" uuid NOT NULL,
|
|
@@ -170,7 +170,7 @@ CREATE TABLE "mod_tracker"."issue_status_history" (
|
|
|
170
170
|
"occurred_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
171
171
|
);
|
|
172
172
|
--> statement-breakpoint
|
|
173
|
-
CREATE TABLE "mod_tracker"."issue_templates" (
|
|
173
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."issue_templates" (
|
|
174
174
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
175
175
|
"workspace_id" uuid NOT NULL,
|
|
176
176
|
"project_id" uuid,
|
|
@@ -184,7 +184,7 @@ CREATE TABLE "mod_tracker"."issue_templates" (
|
|
|
184
184
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
185
185
|
);
|
|
186
186
|
--> statement-breakpoint
|
|
187
|
-
CREATE TABLE "mod_tracker"."issues" (
|
|
187
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."issues" (
|
|
188
188
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
189
189
|
"workspace_id" uuid NOT NULL,
|
|
190
190
|
"project_id" uuid NOT NULL,
|
|
@@ -235,7 +235,7 @@ CREATE TABLE "mod_tracker"."issues" (
|
|
|
235
235
|
"search" "tsvector" GENERATED ALWAYS AS (to_tsvector('simple', coalesce(title, '') || ' ' || coalesce(description_text, ''))) STORED
|
|
236
236
|
);
|
|
237
237
|
--> statement-breakpoint
|
|
238
|
-
CREATE TABLE "mod_tracker"."labels" (
|
|
238
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."labels" (
|
|
239
239
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
240
240
|
"workspace_id" uuid NOT NULL,
|
|
241
241
|
"project_id" uuid,
|
|
@@ -247,7 +247,7 @@ CREATE TABLE "mod_tracker"."labels" (
|
|
|
247
247
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
248
248
|
);
|
|
249
249
|
--> statement-breakpoint
|
|
250
|
-
CREATE TABLE "mod_tracker"."links" (
|
|
250
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."links" (
|
|
251
251
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
252
252
|
"workspace_id" uuid NOT NULL,
|
|
253
253
|
"issue_id" uuid NOT NULL,
|
|
@@ -258,7 +258,7 @@ CREATE TABLE "mod_tracker"."links" (
|
|
|
258
258
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
259
259
|
);
|
|
260
260
|
--> statement-breakpoint
|
|
261
|
-
CREATE TABLE "mod_tracker"."milestones" (
|
|
261
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."milestones" (
|
|
262
262
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
263
263
|
"workspace_id" uuid NOT NULL,
|
|
264
264
|
"project_id" uuid NOT NULL,
|
|
@@ -271,7 +271,7 @@ CREATE TABLE "mod_tracker"."milestones" (
|
|
|
271
271
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
272
272
|
);
|
|
273
273
|
--> statement-breakpoint
|
|
274
|
-
CREATE TABLE "mod_tracker"."project_members" (
|
|
274
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."project_members" (
|
|
275
275
|
"project_id" uuid NOT NULL,
|
|
276
276
|
"workspace_id" uuid NOT NULL,
|
|
277
277
|
"user_id" uuid NOT NULL,
|
|
@@ -281,7 +281,7 @@ CREATE TABLE "mod_tracker"."project_members" (
|
|
|
281
281
|
CONSTRAINT "project_members_project_id_user_id_pk" PRIMARY KEY("project_id","user_id")
|
|
282
282
|
);
|
|
283
283
|
--> statement-breakpoint
|
|
284
|
-
CREATE TABLE "mod_tracker"."project_templates" (
|
|
284
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."project_templates" (
|
|
285
285
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
286
286
|
"workspace_id" uuid NOT NULL,
|
|
287
287
|
"key" text NOT NULL,
|
|
@@ -293,7 +293,7 @@ CREATE TABLE "mod_tracker"."project_templates" (
|
|
|
293
293
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
294
294
|
);
|
|
295
295
|
--> statement-breakpoint
|
|
296
|
-
CREATE TABLE "mod_tracker"."projects" (
|
|
296
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."projects" (
|
|
297
297
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
298
298
|
"workspace_id" uuid NOT NULL,
|
|
299
299
|
"key" text NOT NULL,
|
|
@@ -316,7 +316,7 @@ CREATE TABLE "mod_tracker"."projects" (
|
|
|
316
316
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
317
317
|
);
|
|
318
318
|
--> statement-breakpoint
|
|
319
|
-
CREATE TABLE "mod_tracker"."recurring_issues" (
|
|
319
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."recurring_issues" (
|
|
320
320
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
321
321
|
"workspace_id" uuid NOT NULL,
|
|
322
322
|
"project_id" uuid NOT NULL,
|
|
@@ -333,7 +333,7 @@ CREATE TABLE "mod_tracker"."recurring_issues" (
|
|
|
333
333
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
334
334
|
);
|
|
335
335
|
--> statement-breakpoint
|
|
336
|
-
CREATE TABLE "mod_tracker"."relations" (
|
|
336
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."relations" (
|
|
337
337
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
338
338
|
"workspace_id" uuid NOT NULL,
|
|
339
339
|
"type" text NOT NULL,
|
|
@@ -343,7 +343,7 @@ CREATE TABLE "mod_tracker"."relations" (
|
|
|
343
343
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
344
344
|
);
|
|
345
345
|
--> statement-breakpoint
|
|
346
|
-
CREATE TABLE "mod_tracker"."timers" (
|
|
346
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."timers" (
|
|
347
347
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
348
348
|
"workspace_id" uuid NOT NULL,
|
|
349
349
|
"issue_id" uuid NOT NULL,
|
|
@@ -352,7 +352,7 @@ CREATE TABLE "mod_tracker"."timers" (
|
|
|
352
352
|
"note" text
|
|
353
353
|
);
|
|
354
354
|
--> statement-breakpoint
|
|
355
|
-
CREATE TABLE "mod_tracker"."type_schemes" (
|
|
355
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."type_schemes" (
|
|
356
356
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
357
357
|
"workspace_id" uuid NOT NULL,
|
|
358
358
|
"name" text NOT NULL,
|
|
@@ -361,7 +361,7 @@ CREATE TABLE "mod_tracker"."type_schemes" (
|
|
|
361
361
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
362
362
|
);
|
|
363
363
|
--> statement-breakpoint
|
|
364
|
-
CREATE TABLE "mod_tracker"."versions" (
|
|
364
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."versions" (
|
|
365
365
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
366
366
|
"workspace_id" uuid NOT NULL,
|
|
367
367
|
"project_id" uuid NOT NULL,
|
|
@@ -376,7 +376,7 @@ CREATE TABLE "mod_tracker"."versions" (
|
|
|
376
376
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
377
377
|
);
|
|
378
378
|
--> statement-breakpoint
|
|
379
|
-
CREATE TABLE "mod_tracker"."view_pins" (
|
|
379
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."view_pins" (
|
|
380
380
|
"view_id" uuid NOT NULL,
|
|
381
381
|
"workspace_id" uuid NOT NULL,
|
|
382
382
|
"user_id" uuid NOT NULL,
|
|
@@ -384,7 +384,7 @@ CREATE TABLE "mod_tracker"."view_pins" (
|
|
|
384
384
|
CONSTRAINT "view_pins_view_id_user_id_pk" PRIMARY KEY("view_id","user_id")
|
|
385
385
|
);
|
|
386
386
|
--> statement-breakpoint
|
|
387
|
-
CREATE TABLE "mod_tracker"."views" (
|
|
387
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."views" (
|
|
388
388
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
389
389
|
"workspace_id" uuid NOT NULL,
|
|
390
390
|
"project_id" uuid,
|
|
@@ -403,7 +403,7 @@ CREATE TABLE "mod_tracker"."views" (
|
|
|
403
403
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
404
404
|
);
|
|
405
405
|
--> statement-breakpoint
|
|
406
|
-
CREATE TABLE "mod_tracker"."work_item_types" (
|
|
406
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."work_item_types" (
|
|
407
407
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
408
408
|
"workspace_id" uuid NOT NULL,
|
|
409
409
|
"project_id" uuid,
|
|
@@ -423,7 +423,7 @@ CREATE TABLE "mod_tracker"."work_item_types" (
|
|
|
423
423
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
424
424
|
);
|
|
425
425
|
--> statement-breakpoint
|
|
426
|
-
CREATE TABLE "mod_tracker"."workflow_schemes" (
|
|
426
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."workflow_schemes" (
|
|
427
427
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
428
428
|
"workspace_id" uuid NOT NULL,
|
|
429
429
|
"name" text NOT NULL,
|
|
@@ -433,7 +433,7 @@ CREATE TABLE "mod_tracker"."workflow_schemes" (
|
|
|
433
433
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
434
434
|
);
|
|
435
435
|
--> statement-breakpoint
|
|
436
|
-
CREATE TABLE "mod_tracker"."workflows" (
|
|
436
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."workflows" (
|
|
437
437
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
438
438
|
"workspace_id" uuid NOT NULL,
|
|
439
439
|
"project_id" uuid,
|
|
@@ -446,7 +446,7 @@ CREATE TABLE "mod_tracker"."workflows" (
|
|
|
446
446
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
447
447
|
);
|
|
448
448
|
--> statement-breakpoint
|
|
449
|
-
CREATE TABLE "mod_tracker"."worklogs" (
|
|
449
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."worklogs" (
|
|
450
450
|
"id" uuid PRIMARY KEY DEFAULT uuidv7() NOT NULL,
|
|
451
451
|
"workspace_id" uuid NOT NULL,
|
|
452
452
|
"project_id" uuid NOT NULL,
|
|
@@ -460,70 +460,70 @@ CREATE TABLE "mod_tracker"."worklogs" (
|
|
|
460
460
|
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
461
461
|
);
|
|
462
462
|
--> statement-breakpoint
|
|
463
|
-
CREATE TABLE "mod_tracker"."workspaces" (
|
|
463
|
+
CREATE TABLE IF NOT EXISTS "mod_tracker"."workspaces" (
|
|
464
464
|
"workspace_id" uuid PRIMARY KEY NOT NULL,
|
|
465
465
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
|
466
466
|
);
|
|
467
467
|
--> statement-breakpoint
|
|
468
|
-
CREATE UNIQUE INDEX "attachments_issue_file_uq" ON "mod_tracker"."attachments" USING btree ("issue_id","file_id");--> statement-breakpoint
|
|
469
|
-
CREATE INDEX "attachments_issue_idx" ON "mod_tracker"."attachments" USING btree ("issue_id","created_at");--> statement-breakpoint
|
|
470
|
-
CREATE INDEX "comments_issue_idx" ON "mod_tracker"."comments" USING btree ("issue_id","created_at");--> statement-breakpoint
|
|
471
|
-
CREATE INDEX "comments_thread_idx" ON "mod_tracker"."comments" USING btree ("parent_id","created_at") WHERE parent_id is not null;--> statement-breakpoint
|
|
472
|
-
CREATE INDEX "comments_search_idx" ON "mod_tracker"."comments" USING gin ("search");--> statement-breakpoint
|
|
473
|
-
CREATE UNIQUE INDEX "components_project_name_uq" ON "mod_tracker"."components" USING btree ("project_id","name");--> statement-breakpoint
|
|
474
|
-
CREATE UNIQUE INDEX "cycles_project_number_uq" ON "mod_tracker"."cycles" USING btree ("project_id","number");--> statement-breakpoint
|
|
475
|
-
CREATE INDEX "cycles_project_status_idx" ON "mod_tracker"."cycles" USING btree ("project_id","status","start_at");--> statement-breakpoint
|
|
476
|
-
CREATE UNIQUE INDEX "field_defs_ws_project_key_uq" ON "mod_tracker"."field_defs" USING btree ("workspace_id","project_id","key") WHERE project_id is not null;--> statement-breakpoint
|
|
477
|
-
CREATE UNIQUE INDEX "field_defs_ws_key_uq" ON "mod_tracker"."field_defs" USING btree ("workspace_id","key") WHERE project_id is null;--> statement-breakpoint
|
|
478
|
-
CREATE INDEX "field_defs_ws_idx" ON "mod_tracker"."field_defs" USING btree ("workspace_id","project_id","order");--> statement-breakpoint
|
|
479
|
-
CREATE INDEX "field_schemes_ws_idx" ON "mod_tracker"."field_schemes" USING btree ("workspace_id","created_at");--> statement-breakpoint
|
|
480
|
-
CREATE INDEX "import_jobs_project_idx" ON "mod_tracker"."import_jobs" USING btree ("project_id","created_at");--> statement-breakpoint
|
|
481
|
-
CREATE UNIQUE INDEX "issue_approvals_issue_transition_uq" ON "mod_tracker"."issue_approvals" USING btree ("issue_id","transition_id");--> statement-breakpoint
|
|
482
|
-
CREATE INDEX "issue_history_issue_idx" ON "mod_tracker"."issue_history" USING btree ("issue_id","occurred_at");--> statement-breakpoint
|
|
483
|
-
CREATE INDEX "issue_status_history_issue_idx" ON "mod_tracker"."issue_status_history" USING btree ("issue_id","occurred_at");--> statement-breakpoint
|
|
484
|
-
CREATE INDEX "issue_status_history_project_idx" ON "mod_tracker"."issue_status_history" USING btree ("project_id","occurred_at");--> statement-breakpoint
|
|
485
|
-
CREATE INDEX "issue_templates_ws_idx" ON "mod_tracker"."issue_templates" USING btree ("workspace_id","project_id");--> statement-breakpoint
|
|
486
|
-
CREATE UNIQUE INDEX "issues_ws_key_uq" ON "mod_tracker"."issues" USING btree ("workspace_id","key");--> statement-breakpoint
|
|
487
|
-
CREATE UNIQUE INDEX "issues_project_number_uq" ON "mod_tracker"."issues" USING btree ("project_id","number");--> statement-breakpoint
|
|
488
|
-
CREATE INDEX "issues_ws_project_rank_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","project_id","rank");--> statement-breakpoint
|
|
489
|
-
CREATE INDEX "issues_ws_project_status_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","project_id","status_id");--> statement-breakpoint
|
|
490
|
-
CREATE INDEX "issues_ws_updated_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","updated_at");--> statement-breakpoint
|
|
491
|
-
CREATE INDEX "issues_ws_cycle_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","cycle_id") WHERE cycle_id is not null;--> statement-breakpoint
|
|
492
|
-
CREATE INDEX "issues_ws_parent_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","parent_id") WHERE parent_id is not null;--> statement-breakpoint
|
|
493
|
-
CREATE INDEX "issues_ws_due_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","due_date") WHERE due_date is not null;--> statement-breakpoint
|
|
494
|
-
CREATE INDEX "issues_ws_triage_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","project_id") WHERE triage;--> statement-breakpoint
|
|
495
|
-
CREATE INDEX "issues_external_ref_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","external_ref") WHERE external_ref is not null;--> statement-breakpoint
|
|
496
|
-
CREATE INDEX "issues_assignees_idx" ON "mod_tracker"."issues" USING gin ("assignee_ids");--> statement-breakpoint
|
|
497
|
-
CREATE INDEX "issues_labels_idx" ON "mod_tracker"."issues" USING gin ("label_ids");--> statement-breakpoint
|
|
498
|
-
CREATE INDEX "issues_components_idx" ON "mod_tracker"."issues" USING gin ("component_ids");--> statement-breakpoint
|
|
499
|
-
CREATE INDEX "issues_versions_idx" ON "mod_tracker"."issues" USING gin ("version_ids");--> statement-breakpoint
|
|
500
|
-
CREATE INDEX "issues_watchers_idx" ON "mod_tracker"."issues" USING gin ("watcher_ids");--> statement-breakpoint
|
|
501
|
-
CREATE INDEX "issues_custom_idx" ON "mod_tracker"."issues" USING gin ("custom");--> statement-breakpoint
|
|
502
|
-
CREATE INDEX "issues_search_idx" ON "mod_tracker"."issues" USING gin ("search");--> statement-breakpoint
|
|
503
|
-
CREATE UNIQUE INDEX "labels_project_name_uq" ON "mod_tracker"."labels" USING btree ("project_id","name") WHERE project_id is not null;--> statement-breakpoint
|
|
504
|
-
CREATE UNIQUE INDEX "labels_ws_name_uq" ON "mod_tracker"."labels" USING btree ("workspace_id","name") WHERE project_id is null;--> statement-breakpoint
|
|
505
|
-
CREATE INDEX "labels_ws_idx" ON "mod_tracker"."labels" USING btree ("workspace_id","project_id");--> statement-breakpoint
|
|
506
|
-
CREATE INDEX "links_issue_idx" ON "mod_tracker"."links" USING btree ("issue_id","created_at");--> statement-breakpoint
|
|
507
|
-
CREATE INDEX "milestones_project_idx" ON "mod_tracker"."milestones" USING btree ("project_id","target_date");--> statement-breakpoint
|
|
508
|
-
CREATE INDEX "project_members_ws_user_idx" ON "mod_tracker"."project_members" USING btree ("workspace_id","user_id");--> statement-breakpoint
|
|
509
|
-
CREATE UNIQUE INDEX "project_templates_ws_key_uq" ON "mod_tracker"."project_templates" USING btree ("workspace_id","key");--> statement-breakpoint
|
|
510
|
-
CREATE UNIQUE INDEX "projects_ws_key_uq" ON "mod_tracker"."projects" USING btree ("workspace_id","key");--> statement-breakpoint
|
|
511
|
-
CREATE UNIQUE INDEX "projects_intake_token_uq" ON "mod_tracker"."projects" USING btree ("intake_token") WHERE intake_token is not null;--> statement-breakpoint
|
|
512
|
-
CREATE INDEX "projects_ws_idx" ON "mod_tracker"."projects" USING btree ("workspace_id","archived_at");--> statement-breakpoint
|
|
513
|
-
CREATE INDEX "recurring_issues_project_idx" ON "mod_tracker"."recurring_issues" USING btree ("project_id");--> statement-breakpoint
|
|
514
|
-
CREATE INDEX "recurring_issues_due_idx" ON "mod_tracker"."recurring_issues" USING btree ("next_run_at") WHERE enabled;--> statement-breakpoint
|
|
515
|
-
CREATE UNIQUE INDEX "relations_edge_uq" ON "mod_tracker"."relations" USING btree ("from_issue_id","to_issue_id","type");--> statement-breakpoint
|
|
516
|
-
CREATE INDEX "relations_to_idx" ON "mod_tracker"."relations" USING btree ("to_issue_id");--> statement-breakpoint
|
|
517
|
-
CREATE UNIQUE INDEX "timers_ws_user_uq" ON "mod_tracker"."timers" USING btree ("workspace_id","user_id");--> statement-breakpoint
|
|
518
|
-
CREATE INDEX "type_schemes_ws_idx" ON "mod_tracker"."type_schemes" USING btree ("workspace_id","created_at");--> statement-breakpoint
|
|
519
|
-
CREATE INDEX "versions_project_idx" ON "mod_tracker"."versions" USING btree ("project_id","order");--> statement-breakpoint
|
|
520
|
-
CREATE INDEX "view_pins_ws_user_idx" ON "mod_tracker"."view_pins" USING btree ("workspace_id","user_id");--> statement-breakpoint
|
|
521
|
-
CREATE INDEX "views_ws_idx" ON "mod_tracker"."views" USING btree ("workspace_id","project_id","order");--> statement-breakpoint
|
|
522
|
-
CREATE UNIQUE INDEX "work_item_types_ws_project_key_uq" ON "mod_tracker"."work_item_types" USING btree ("workspace_id","project_id","key") WHERE project_id is not null;--> statement-breakpoint
|
|
523
|
-
CREATE UNIQUE INDEX "work_item_types_ws_key_uq" ON "mod_tracker"."work_item_types" USING btree ("workspace_id","key") WHERE project_id is null;--> statement-breakpoint
|
|
524
|
-
CREATE INDEX "work_item_types_ws_idx" ON "mod_tracker"."work_item_types" USING btree ("workspace_id","project_id","order");--> statement-breakpoint
|
|
525
|
-
CREATE INDEX "workflow_schemes_ws_idx" ON "mod_tracker"."workflow_schemes" USING btree ("workspace_id","created_at");--> statement-breakpoint
|
|
526
|
-
CREATE INDEX "workflows_ws_idx" ON "mod_tracker"."workflows" USING btree ("workspace_id","project_id","archived_at");--> statement-breakpoint
|
|
527
|
-
CREATE INDEX "worklogs_issue_idx" ON "mod_tracker"."worklogs" USING btree ("issue_id","started_at");--> statement-breakpoint
|
|
528
|
-
CREATE INDEX "worklogs_ws_user_started_idx" ON "mod_tracker"."worklogs" USING btree ("workspace_id","user_id","started_at");--> statement-breakpoint
|
|
529
|
-
CREATE INDEX "worklogs_project_started_idx" ON "mod_tracker"."worklogs" USING btree ("project_id","started_at");
|
|
468
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "attachments_issue_file_uq" ON "mod_tracker"."attachments" USING btree ("issue_id","file_id");--> statement-breakpoint
|
|
469
|
+
CREATE INDEX IF NOT EXISTS "attachments_issue_idx" ON "mod_tracker"."attachments" USING btree ("issue_id","created_at");--> statement-breakpoint
|
|
470
|
+
CREATE INDEX IF NOT EXISTS "comments_issue_idx" ON "mod_tracker"."comments" USING btree ("issue_id","created_at");--> statement-breakpoint
|
|
471
|
+
CREATE INDEX IF NOT EXISTS "comments_thread_idx" ON "mod_tracker"."comments" USING btree ("parent_id","created_at") WHERE parent_id is not null;--> statement-breakpoint
|
|
472
|
+
CREATE INDEX IF NOT EXISTS "comments_search_idx" ON "mod_tracker"."comments" USING gin ("search");--> statement-breakpoint
|
|
473
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "components_project_name_uq" ON "mod_tracker"."components" USING btree ("project_id","name");--> statement-breakpoint
|
|
474
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "cycles_project_number_uq" ON "mod_tracker"."cycles" USING btree ("project_id","number");--> statement-breakpoint
|
|
475
|
+
CREATE INDEX IF NOT EXISTS "cycles_project_status_idx" ON "mod_tracker"."cycles" USING btree ("project_id","status","start_at");--> statement-breakpoint
|
|
476
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "field_defs_ws_project_key_uq" ON "mod_tracker"."field_defs" USING btree ("workspace_id","project_id","key") WHERE project_id is not null;--> statement-breakpoint
|
|
477
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "field_defs_ws_key_uq" ON "mod_tracker"."field_defs" USING btree ("workspace_id","key") WHERE project_id is null;--> statement-breakpoint
|
|
478
|
+
CREATE INDEX IF NOT EXISTS "field_defs_ws_idx" ON "mod_tracker"."field_defs" USING btree ("workspace_id","project_id","order");--> statement-breakpoint
|
|
479
|
+
CREATE INDEX IF NOT EXISTS "field_schemes_ws_idx" ON "mod_tracker"."field_schemes" USING btree ("workspace_id","created_at");--> statement-breakpoint
|
|
480
|
+
CREATE INDEX IF NOT EXISTS "import_jobs_project_idx" ON "mod_tracker"."import_jobs" USING btree ("project_id","created_at");--> statement-breakpoint
|
|
481
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "issue_approvals_issue_transition_uq" ON "mod_tracker"."issue_approvals" USING btree ("issue_id","transition_id");--> statement-breakpoint
|
|
482
|
+
CREATE INDEX IF NOT EXISTS "issue_history_issue_idx" ON "mod_tracker"."issue_history" USING btree ("issue_id","occurred_at");--> statement-breakpoint
|
|
483
|
+
CREATE INDEX IF NOT EXISTS "issue_status_history_issue_idx" ON "mod_tracker"."issue_status_history" USING btree ("issue_id","occurred_at");--> statement-breakpoint
|
|
484
|
+
CREATE INDEX IF NOT EXISTS "issue_status_history_project_idx" ON "mod_tracker"."issue_status_history" USING btree ("project_id","occurred_at");--> statement-breakpoint
|
|
485
|
+
CREATE INDEX IF NOT EXISTS "issue_templates_ws_idx" ON "mod_tracker"."issue_templates" USING btree ("workspace_id","project_id");--> statement-breakpoint
|
|
486
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "issues_ws_key_uq" ON "mod_tracker"."issues" USING btree ("workspace_id","key");--> statement-breakpoint
|
|
487
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "issues_project_number_uq" ON "mod_tracker"."issues" USING btree ("project_id","number");--> statement-breakpoint
|
|
488
|
+
CREATE INDEX IF NOT EXISTS "issues_ws_project_rank_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","project_id","rank");--> statement-breakpoint
|
|
489
|
+
CREATE INDEX IF NOT EXISTS "issues_ws_project_status_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","project_id","status_id");--> statement-breakpoint
|
|
490
|
+
CREATE INDEX IF NOT EXISTS "issues_ws_updated_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","updated_at");--> statement-breakpoint
|
|
491
|
+
CREATE INDEX IF NOT EXISTS "issues_ws_cycle_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","cycle_id") WHERE cycle_id is not null;--> statement-breakpoint
|
|
492
|
+
CREATE INDEX IF NOT EXISTS "issues_ws_parent_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","parent_id") WHERE parent_id is not null;--> statement-breakpoint
|
|
493
|
+
CREATE INDEX IF NOT EXISTS "issues_ws_due_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","due_date") WHERE due_date is not null;--> statement-breakpoint
|
|
494
|
+
CREATE INDEX IF NOT EXISTS "issues_ws_triage_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","project_id") WHERE triage;--> statement-breakpoint
|
|
495
|
+
CREATE INDEX IF NOT EXISTS "issues_external_ref_idx" ON "mod_tracker"."issues" USING btree ("workspace_id","external_ref") WHERE external_ref is not null;--> statement-breakpoint
|
|
496
|
+
CREATE INDEX IF NOT EXISTS "issues_assignees_idx" ON "mod_tracker"."issues" USING gin ("assignee_ids");--> statement-breakpoint
|
|
497
|
+
CREATE INDEX IF NOT EXISTS "issues_labels_idx" ON "mod_tracker"."issues" USING gin ("label_ids");--> statement-breakpoint
|
|
498
|
+
CREATE INDEX IF NOT EXISTS "issues_components_idx" ON "mod_tracker"."issues" USING gin ("component_ids");--> statement-breakpoint
|
|
499
|
+
CREATE INDEX IF NOT EXISTS "issues_versions_idx" ON "mod_tracker"."issues" USING gin ("version_ids");--> statement-breakpoint
|
|
500
|
+
CREATE INDEX IF NOT EXISTS "issues_watchers_idx" ON "mod_tracker"."issues" USING gin ("watcher_ids");--> statement-breakpoint
|
|
501
|
+
CREATE INDEX IF NOT EXISTS "issues_custom_idx" ON "mod_tracker"."issues" USING gin ("custom");--> statement-breakpoint
|
|
502
|
+
CREATE INDEX IF NOT EXISTS "issues_search_idx" ON "mod_tracker"."issues" USING gin ("search");--> statement-breakpoint
|
|
503
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "labels_project_name_uq" ON "mod_tracker"."labels" USING btree ("project_id","name") WHERE project_id is not null;--> statement-breakpoint
|
|
504
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "labels_ws_name_uq" ON "mod_tracker"."labels" USING btree ("workspace_id","name") WHERE project_id is null;--> statement-breakpoint
|
|
505
|
+
CREATE INDEX IF NOT EXISTS "labels_ws_idx" ON "mod_tracker"."labels" USING btree ("workspace_id","project_id");--> statement-breakpoint
|
|
506
|
+
CREATE INDEX IF NOT EXISTS "links_issue_idx" ON "mod_tracker"."links" USING btree ("issue_id","created_at");--> statement-breakpoint
|
|
507
|
+
CREATE INDEX IF NOT EXISTS "milestones_project_idx" ON "mod_tracker"."milestones" USING btree ("project_id","target_date");--> statement-breakpoint
|
|
508
|
+
CREATE INDEX IF NOT EXISTS "project_members_ws_user_idx" ON "mod_tracker"."project_members" USING btree ("workspace_id","user_id");--> statement-breakpoint
|
|
509
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "project_templates_ws_key_uq" ON "mod_tracker"."project_templates" USING btree ("workspace_id","key");--> statement-breakpoint
|
|
510
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "projects_ws_key_uq" ON "mod_tracker"."projects" USING btree ("workspace_id","key");--> statement-breakpoint
|
|
511
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "projects_intake_token_uq" ON "mod_tracker"."projects" USING btree ("intake_token") WHERE intake_token is not null;--> statement-breakpoint
|
|
512
|
+
CREATE INDEX IF NOT EXISTS "projects_ws_idx" ON "mod_tracker"."projects" USING btree ("workspace_id","archived_at");--> statement-breakpoint
|
|
513
|
+
CREATE INDEX IF NOT EXISTS "recurring_issues_project_idx" ON "mod_tracker"."recurring_issues" USING btree ("project_id");--> statement-breakpoint
|
|
514
|
+
CREATE INDEX IF NOT EXISTS "recurring_issues_due_idx" ON "mod_tracker"."recurring_issues" USING btree ("next_run_at") WHERE enabled;--> statement-breakpoint
|
|
515
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "relations_edge_uq" ON "mod_tracker"."relations" USING btree ("from_issue_id","to_issue_id","type");--> statement-breakpoint
|
|
516
|
+
CREATE INDEX IF NOT EXISTS "relations_to_idx" ON "mod_tracker"."relations" USING btree ("to_issue_id");--> statement-breakpoint
|
|
517
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "timers_ws_user_uq" ON "mod_tracker"."timers" USING btree ("workspace_id","user_id");--> statement-breakpoint
|
|
518
|
+
CREATE INDEX IF NOT EXISTS "type_schemes_ws_idx" ON "mod_tracker"."type_schemes" USING btree ("workspace_id","created_at");--> statement-breakpoint
|
|
519
|
+
CREATE INDEX IF NOT EXISTS "versions_project_idx" ON "mod_tracker"."versions" USING btree ("project_id","order");--> statement-breakpoint
|
|
520
|
+
CREATE INDEX IF NOT EXISTS "view_pins_ws_user_idx" ON "mod_tracker"."view_pins" USING btree ("workspace_id","user_id");--> statement-breakpoint
|
|
521
|
+
CREATE INDEX IF NOT EXISTS "views_ws_idx" ON "mod_tracker"."views" USING btree ("workspace_id","project_id","order");--> statement-breakpoint
|
|
522
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "work_item_types_ws_project_key_uq" ON "mod_tracker"."work_item_types" USING btree ("workspace_id","project_id","key") WHERE project_id is not null;--> statement-breakpoint
|
|
523
|
+
CREATE UNIQUE INDEX IF NOT EXISTS "work_item_types_ws_key_uq" ON "mod_tracker"."work_item_types" USING btree ("workspace_id","key") WHERE project_id is null;--> statement-breakpoint
|
|
524
|
+
CREATE INDEX IF NOT EXISTS "work_item_types_ws_idx" ON "mod_tracker"."work_item_types" USING btree ("workspace_id","project_id","order");--> statement-breakpoint
|
|
525
|
+
CREATE INDEX IF NOT EXISTS "workflow_schemes_ws_idx" ON "mod_tracker"."workflow_schemes" USING btree ("workspace_id","created_at");--> statement-breakpoint
|
|
526
|
+
CREATE INDEX IF NOT EXISTS "workflows_ws_idx" ON "mod_tracker"."workflows" USING btree ("workspace_id","project_id","archived_at");--> statement-breakpoint
|
|
527
|
+
CREATE INDEX IF NOT EXISTS "worklogs_issue_idx" ON "mod_tracker"."worklogs" USING btree ("issue_id","started_at");--> statement-breakpoint
|
|
528
|
+
CREATE INDEX IF NOT EXISTS "worklogs_ws_user_started_idx" ON "mod_tracker"."worklogs" USING btree ("workspace_id","user_id","started_at");--> statement-breakpoint
|
|
529
|
+
CREATE INDEX IF NOT EXISTS "worklogs_project_started_idx" ON "mod_tracker"."worklogs" USING btree ("project_id","started_at");
|