Zhichao
GitHub action for build and deploy to aws dev (#67)
f2de1e7 unverified
raw
history blame
742 Bytes
/*
Warnings:
- You are about to drop the column `content` on the `message` table. All the data in the column will be lost.
- You are about to drop the column `role` on the `message` table. All the data in the column will be lost.
- Added the required column `mediaUrl` to the `message` table without a default value. This is not possible if the table is not empty.
- Added the required column `prompt` to the `message` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "message" DROP COLUMN "content",
DROP COLUMN "role",
ADD COLUMN "mediaUrl" TEXT NOT NULL,
ADD COLUMN "prompt" TEXT NOT NULL,
ADD COLUMN "response" TEXT;
-- DropEnum
DROP TYPE "MessageRole";