Hello, is there any workaround to use a Tag model ...
# orm-help
a
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
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
👋 hey @Andrei ! Did you have a chance to see Niko's comment? Let us know if this is still an issue for you!
plus one +1 1