text: -- CreateEnum
  CREATE TYPE "ResponseStatus" AS ENUM ('CLOSED', 'OPEN');
  
  -- CreateEnum
  CREATE TYPE "RequestStatus" AS ENUM ('PENDING', 'ACCEPTED', 'REJECTED');
  
  -- CreateTable
  CREATE TABLE "Request" (
      "id" SERIAL NOT NULL,
      "userId" INTEGER NOT NULL,
      "body" TEXT NOT NULL,
      "status" "RequestStatus" NOT NULL DEFAULT E'PENDING',
      "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
      "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
  
      CONSTRAINT "Request_pkey" PRIMARY KEY ("id")
  );
  
  -- CreateTable
  CREATE TABLE "Response" (
      "id" SERIAL NOT NULL,
      "requestId" INTEGER NOT NULL,
      "body" TEXT NOT NULL,
      "status" "ResponseStatus" NOT NULL DEFAULT E'OPEN',
      "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
      "updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
  
      CONSTRAINT "Response_pkey" PRIMARY KEY ("id")
  );
  
  -- AddForeignKey
  ALTER TABLE "Request" ADD CONSTRAINT "Request_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
  
  -- AddForeignKey
  ALTER TABLE "Response" ADD CONSTRAINT "Response_requestId_fkey" FOREIGN KEY ("requestId") REFERENCES "Request"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
  