```model accesstoken { id Int ...
# orm-help
a
Copy code
model accesstoken {
  id              Int              @id @default(autoincrement())
  token           String
  isactive        Boolean
  createdat       DateTime         @default(now())
  updatedat       DateTime         @updatedAt
  instancesworkers instancesworker[]
}
Copy code
model instanceworker {
  id                  String                @id
  name                String
  comment             String?
  expiredate          DateTime
  createdat           DateTime              @default(now())
  updatedat           DateTime              @updatedAt
  webhookid           Int
  userid              String
  accesstokenid       Int
  accesstoken         accesstoken           
}
Error: Schema parsing
error: Type "instancesworker" is neither a built-in type, nor refers to another model, custom type, or enum.
-->  schema.prisma:43
|
42 |   updatedat       DateTime         @updatedAt
43 |   instancesworkers instancesworker[]
|