You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ALTERTABLE"action_categories" ADD CONSTRAINT"action_categories_updater_id_users_id_fk"FOREIGN KEY ("updater_id") REFERENCES"public"."users"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
443
-
ALTERTABLE"actions" ADD CONSTRAINT"actions_actor_id_users_id_fk"FOREIGN KEY ("actor_id") REFERENCES"public"."users"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
443
+
ALTERTABLE"actions" ADD CONSTRAINT"actions_assigneeId_users_id_fk"FOREIGN KEY ("assigneeId") REFERENCES"public"."users"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
444
444
ALTERTABLE"actions" ADD CONSTRAINT"actions_category_id_action_categories_id_fk"FOREIGN KEY ("category_id") REFERENCES"public"."action_categories"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
445
445
ALTERTABLE"actions" ADD CONSTRAINT"actions_creator_id_users_id_fk"FOREIGN KEY ("creator_id") REFERENCES"public"."users"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
446
446
ALTERTABLE"actions" ADD CONSTRAINT"actions_event_id_events_id_fk"FOREIGN KEY ("event_id") REFERENCES"public"."events"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
@@ -554,7 +554,7 @@ CREATE INDEX "action_categories_creator_id_index" ON "action_categories" USING b
554
554
CREATEINDEX "action_categories_name_index" ON"action_categories" USING btree ("name");--> statement-breakpoint
555
555
CREATEUNIQUE INDEX "action_categories_name_organization_id_index" ON"action_categories" USING btree ("name","organization_id");--> statement-breakpoint
556
556
CREATEINDEX "actions_assigned_at_index" ON"actions" USING btree ("assigned_at");--> statement-breakpoint
557
-
CREATEINDEX "actions_actor_id_index" ON"actions" USING btree ("actor_id");--> statement-breakpoint
557
+
CREATEINDEX "actions_assigneeId_index" ON"actions" USING btree ("assigneeId");--> statement-breakpoint
558
558
CREATEINDEX "actions_category_id_index" ON"actions" USING btree ("category_id");--> statement-breakpoint
559
559
CREATEINDEX "actions_completion_at_index" ON"actions" USING btree ("completion_at");--> statement-breakpoint
560
560
CREATEINDEX "actions_created_at_index" ON"actions" USING btree ("created_at");--> statement-breakpoint
ALTERTABLE"action_categories" ADD CONSTRAINT"action_categories_updater_id_users_id_fk"FOREIGN KEY ("updater_id") REFERENCES"public"."users"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
33
-
ALTERTABLE"actions" ADD CONSTRAINT"actions_actor_id_users_id_fk"FOREIGN KEY ("actor_id") REFERENCES"public"."users"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
33
+
ALTERTABLE"actions" ADD CONSTRAINT"actions_assigneeId_users_id_fk"FOREIGN KEY ("actor_id") REFERENCES"public"."users"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
34
34
ALTERTABLE"actions" ADD CONSTRAINT"actions_category_id_action_categories_id_fk"FOREIGN KEY ("category_id") REFERENCES"public"."action_categories"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
35
35
ALTERTABLE"actions" ADD CONSTRAINT"actions_creator_id_users_id_fk"FOREIGN KEY ("creator_id") REFERENCES"public"."users"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
36
36
ALTERTABLE"actions" ADD CONSTRAINT"actions_event_id_events_id_fk"FOREIGN KEY ("event_id") REFERENCES"public"."events"("id") ON DELETEsetnullONUPDATE cascade;--> statement-breakpoint
@@ -41,7 +41,7 @@ CREATE INDEX "action_categories_creator_id_index" ON "action_categories" USING b
41
41
CREATEINDEX "action_categories_name_index" ON"action_categories" USING btree ("name");--> statement-breakpoint
42
42
CREATEUNIQUE INDEX "action_categories_name_organization_id_index" ON"action_categories" USING btree ("name","organization_id");--> statement-breakpoint
43
43
CREATEINDEX "actions_assigned_at_index" ON"actions" USING btree ("assigned_at");--> statement-breakpoint
44
-
CREATEINDEX "actions_actor_id_index" ON"actions" USING btree ("actor_id");--> statement-breakpoint
44
+
CREATEINDEX "actions_assigneeId_index" ON"actions" USING btree ("actor_id");--> statement-breakpoint
45
45
CREATEINDEX "actions_category_id_index" ON"actions" USING btree ("category_id");--> statement-breakpoint
46
46
CREATEINDEX "actions_completion_at_index" ON"actions" USING btree ("completion_at");--> statement-breakpoint
47
47
CREATEINDEX "actions_created_at_index" ON"actions" USING btree ("created_at");--> statement-breakpoint
0 commit comments