Hello, is there any workaround to use a Tag model in rails way, when a tag has a taggable_id and taggable_type and it linked to multiple models?
Copy code
model Tag {
id Int @id @default(autoincrement())
title String @db.VarChar
taggable_id Int
taggable_type String @db.VarChar
user_id Int
}
👀 1
n
nikolasburk
07/11/2022, 3:50 PM
Hey Andrei 👋 sorry I don’t follow exactly what you’re trying to achieve. Can you maybe elaborate a bit further on the what your question is? 🙂
v
Vladi Stevanovic
07/18/2022, 7:42 PM
👋 hey @Andrei ! Did you have a chance to see Niko's comment?
Let us know if this is still an issue for you!