0

I was trying to make multiple role in hasura for example assume I have techician,customer role, then I need to have users table to fetch with role attribute and if I use inheritance it works completely but inheritance is not available on hasura.

I tried using script

create table customer () inherits (users);

but I need to know if there is other way to do

  • Having multiple roles does not mean having inheritance. Are you sure you actually want the latter? – Bergi Jan 21 '23 at 19:35
  • Actually yea I come to inheritance solution after many difficulties.but how I handle two roles customer and technician then I have users table if I cannot use inheritance how I can do that – Bete Goshme Jan 22 '23 at 20:23
  • What are you trying to achieve? What extra data does a technician need? What extra data does a customer need? – Bergi Jan 22 '23 at 20:55
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Jan 23 '23 at 09:05

0 Answers0