#Schema validation with custom enum and mysql

2 messages · Page 1 of 1 (latest)

worldly comet
#

Hi team
I've an issue after pulling table from the database. I've multiple enum that is not validate; as for example:

enum test_forbidden_code {
  // 403 @map("403")
  // 401 @map("401")
}

So when I m trying to generate the client I get an error validation message "this line is not an enum value definition". Is there a way to fix/bypass that ?

Thanks

warm portal