```why I am getting this error on while I tried to...
# orm-help
a
Copy code
why I am getting this error on while I tried to read user table?
user is already created but I can't read it from prisma studio.
r
Hey @Ashiqur Rahman 👋 Could you share your schema so I can replicate it?
a
This is my User Model
Copy code
model User {
  id               Int           @default(autoincrement()) @id
  email            String        @unique
  name             String
  password         String
  emailVerified    Boolean       @default(false)
  role             Role
  posts            Post[]
  comments         Comment[]
  emailToken       String?
  emailTokenExpiry Float?
  credit           CreditOfUser? @relation(fields: [creditId], references: [id])
  creditId         Int?
  orders           Order[]
  package          Package?      @relation(fields: [packageId], references: [id])
  packageId        Int?
  customerId       String?
  createdAt        DateTime      @default(now())
  updatedAt        DateTime      @updatedAt
}
r
I changed the above schema to remove the missing models and ran the migrations and I am not facing any issue. I am using
@prisma/cli
version 2.0.1. Could you try deleting the migrations folder and run again and check?
a
I updated prisma/cli in 2.0.1 but, now I am getting slightly different types of error