refactor: changed the test cases to reflect change to UserHistory schema
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `type` on the `UserHistory` table. All the data in the column will be lost.
|
||||
- Added the required column `reqType` to the `UserHistory` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "UserHistory" DROP COLUMN "type",
|
||||
ADD COLUMN "reqType" "ReqType" NOT NULL;
|
||||
@@ -91,7 +91,7 @@ model UserHistory {
|
||||
id String @id @default(cuid())
|
||||
userUid String
|
||||
user User @relation(fields: [userUid], references: [uid], onDelete: Cascade)
|
||||
type ReqType
|
||||
reqType ReqType
|
||||
request Json
|
||||
responseMetadata Json
|
||||
isStarred Boolean
|
||||
|
||||
Reference in New Issue
Block a user