feat(database): Add Reaction database class

This commit is contained in:
Jesse Wierzbinski 2024-12-18 20:01:26 +01:00
parent e00182cf54
commit f67fed12e0
No known key found for this signature in database
6 changed files with 2635 additions and 11 deletions

View file

@ -0,0 +1,6 @@
ALTER TABLE "Reaction" ALTER COLUMN "emojiId" DROP NOT NULL;--> statement-breakpoint
ALTER TABLE "Reaction" ADD COLUMN "uri" text;--> statement-breakpoint
ALTER TABLE "Reaction" ADD COLUMN "emoji_text" text;--> statement-breakpoint
ALTER TABLE "Reaction" ADD COLUMN "created_at" timestamp(3) DEFAULT now() NOT NULL;--> statement-breakpoint
ALTER TABLE "Reaction" ADD COLUMN "update_at" timestamp(3) DEFAULT now() NOT NULL;--> statement-breakpoint
ALTER TABLE "Reaction" ADD CONSTRAINT "Reaction_uri_unique" UNIQUE("uri");

File diff suppressed because it is too large Load diff

View file

@ -267,6 +267,13 @@
"when": 1734546300555,
"tag": "0037_condemned_talisman",
"breakpoints": true
},
{
"idx": 38,
"version": "7",
"when": 1734548407684,
"tag": "0038_friendly_supernaut",
"breakpoints": true
}
]
}