Skip to content

Commit 984a9df

Browse files
committed
feat: Enhance comments functionality with nested replies and update comment management
1 parent 9f6112a commit 984a9df

File tree

11 files changed

+1120
-84
lines changed

11 files changed

+1120
-84
lines changed

drizzle/0012_unusual_shiver_man.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 "parentId" integer;--> statement-breakpoint
2+
ALTER TABLE "app_comment" ADD CONSTRAINT "app_comment_parentId_app_comment_id_fk" FOREIGN KEY ("parentId") REFERENCES "public"."app_comment"("id") ON DELETE cascade ON UPDATE no action;

0 commit comments

Comments
 (0)