Skip to content

Commit bbbd18f

Browse files
committed
feat: Add repliedTo functionality for comments, enabling nested replies and enhancing comment structure
1 parent 984a9df commit bbbd18f

File tree

9 files changed

+812
-4
lines changed

9 files changed

+812
-4
lines changed

drizzle/0013_black_vargas.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE "app_comment" ADD COLUMN "repliedToId" integer;--> statement-breakpoint
2+
ALTER TABLE "app_comment" ADD CONSTRAINT "app_comment_repliedToId_app_user_id_fk" FOREIGN KEY ("repliedToId") REFERENCES "public"."app_user"("id") ON DELETE cascade ON UPDATE no action;

0 commit comments

Comments
 (0)