Skip to content

Commit

Permalink
✨ Give staff feedback annonymously
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasGruber committed Oct 21, 2024
1 parent de30e25 commit 486eeee
Show file tree
Hide file tree
Showing 10 changed files with 7,061 additions and 1 deletion.
13 changes: 13 additions & 0 deletions app/drizzle/migrations/0159_tranquil_agent_zero.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
CREATE TABLE `UserReview` (
`id` varchar(191) NOT NULL,
`authorUserId` varchar(191) NOT NULL,
`targetUserId` varchar(191) NOT NULL,
`positive` boolean NOT NULL DEFAULT true,
`review` text NOT NULL,
`authorIp` varchar(191) NOT NULL,
`createdAt` datetime(3) NOT NULL DEFAULT (CURRENT_TIMESTAMP(3)),
CONSTRAINT `UserReview_id` PRIMARY KEY(`id`)
);

CREATE INDEX `UserReview_authorUserId_idx` ON `UserReview` (`authorUserId`);
CREATE INDEX `UserReview_targetUserId_idx` ON `UserReview` (`targetUserId`);
Loading

0 comments on commit 486eeee

Please sign in to comment.