
* 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
13 lines
366 B
SQL
13 lines
366 B
SQL
-- CreateEnum
|
|
CREATE TYPE "ReminderType" AS ENUM ('PENDING_BOOKING_CONFIRMATION');
|
|
|
|
-- CreateTable
|
|
CREATE TABLE "ReminderMail" (
|
|
"id" SERIAL NOT NULL,
|
|
"referenceId" INTEGER NOT NULL,
|
|
"reminderType" "ReminderType" NOT NULL,
|
|
"elapsedMinutes" INTEGER NOT NULL,
|
|
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
|
|
PRIMARY KEY ("id")
|
|
);
|