Error validating: You defined the enum `UserRole`. But the current connector does not support enums.

Screenshot_2023-08-07_at_5.00.16_PM.png
Solution
Looks like you're using sqlite. You can:
  • have a UseRole table
  • if your project isn't that complex/big, you can just just store it as a string
  • isAdmin boolean (if that's all you'll need)?
Was this page helpful?