first commit
This commit is contained in:
22
prisma/migrations/20250829194837_001/migration.sql
Normal file
22
prisma/migrations/20250829194837_001/migration.sql
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the `noticeBoardTag` table. If the table is not empty, all the data it contains will be lost.
|
||||
|
||||
*/
|
||||
-- DropTable
|
||||
DROP TABLE `noticeBoardTag`;
|
||||
|
||||
-- CreateTable
|
||||
CREATE TABLE `contentDayView` (
|
||||
`id` VARCHAR(191) NOT NULL,
|
||||
`contentId` VARCHAR(191) NOT NULL,
|
||||
`date` DATETIME(3) NOT NULL,
|
||||
`views` INTEGER NOT NULL,
|
||||
`validViews` INTEGER NOT NULL,
|
||||
`premiumViews` INTEGER NOT NULL,
|
||||
`watchTime` INTEGER NOT NULL,
|
||||
|
||||
UNIQUE INDEX `contentDayView_contentId_date_key`(`contentId`, `date`),
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
Reference in New Issue
Block a user