-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de30e25
commit 486eeee
Showing
10 changed files
with
7,061 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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`); |
Oops, something went wrong.