calcom/packages/prisma/migrations/20211011152041_non_optionals/migration.sql
Omar López fe35cf6570
Extract prisma to it's own package (#1823)
* Moved prisma to packages

* Add missing prisma configs

* Extracts common libs and types

* Build and pipeline fixes

* Adds missing package

* Prisma scripts cleanup

* Updates lint staged

* Type fixes

* Sort imports

* Updates yarn lock file

* Fixes for yarn dx

* Revert "Sort imports"

This reverts commit 076109decab9b9ba307fc03696c3b0da5c4896f3.

* Formatting

* Prevent double TS version

* Fix conflict

* Extracted e2e configs
2022-02-15 13:30:52 -07:00

16 lines
783 B
SQL

/*
Warnings:
- Made the column `periodType` on table `EventType` required. This step will fail if there are existing NULL values in that column.
- Made the column `email` on table `users` required. This step will fail if there are existing NULL values in that column.
- Made the column `weekStart` on table `users` required. This step will fail if there are existing NULL values in that column.
- Made the column `completedOnboarding` on table `users` required. This step will fail if there are existing NULL values in that column.
*/
-- AlterTable
ALTER TABLE "EventType" ALTER COLUMN "periodType" SET NOT NULL;
-- AlterTable
ALTER TABLE "users" ALTER COLUMN "email" SET NOT NULL,
ALTER COLUMN "weekStart" SET NOT NULL,
ALTER COLUMN "completedOnboarding" SET NOT NULL;