model Link {
  id          Int      @id @default(autoincrement())
  createdAt   DateTime @default(now())
  description String
  url         String
  postedBy    User?    @relation(fields: [postedById], references: [id])
  postedById  Int?

model User {
  id       Int    @id @default(autoincrement())
  name     String
  email    String @unique
  password String
  links    Link[]

Link has a relation to User . Link uses the postedById feild to reference an item in the User table via its id feild in the User table.

These are touch points when adding a new table and graphql api endpoint