/*
  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;
