Hello, I could use some help adding data on a man...
# prisma-client
t
Hello, I could use some help adding data on a many to many relationship. Here's my schema :
Copy code
model ProjectPro {
    id                 Int               @default(autoincrement()) @id
    name               String
    slug               String            @unique
    type               TypeProjectPro    @default(PLUGIN)
    settings_users_pro SettingsUserPro[] @relation(references: [id])
    created_at         DateTime?         @default(now())
    updated_at         DateTime?         @updatedAt
    deleted_at         DateTime?
}

model SettingsUserPro {
    id             Int          @default(autoincrement()) @id
    userId         Int
    type           String?      @default("month")
    User           User         @relation(fields: [userId], references: [id])
    projects_pro   ProjectPro[] @relation(references: [id])
    created_at     DateTime?    @default(now())
    updated_at     DateTime?    @updatedAt
    deleted_at     DateTime?
}
I'd like to associate a "project pro" with a "settings user pro"