chew/prisma/migrations/20211214141231_minor/migration.sql

11 lines
328 B
SQL

/*
Warnings:
- A unique constraint covering the columns `[name]` on the table `Cohort` will be added. If there are existing duplicate values, this will fail.
*/
-- AlterTable
ALTER TABLE `Cohort` ADD COLUMN `dailyView` INTEGER NOT NULL DEFAULT 0;
-- CreateIndex
CREATE UNIQUE INDEX `Cohort_name_key` ON `Cohort`(`name`);