I have this model in Prisma:
model RegisteredPage {
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
domain String // instagram, youtube,...
page String // s4eed, dive, makeappwithme,...
}
I want to add a constraint on the domain and page so that combination of them is unique. Should I make the combination of them as ID?