Hello <@UESADRKMY> I created enum type ```enum Tes...
# orm-help
j
Hello @Ryan I created enum type
Copy code
enum Test {
  Open
  Converted
  Junk
}
And when I apply ordering on this enum field it return Open first instead of Converted
r
What is the query that you have made for ordering?
j
Copy code
orderBy: {
    Test : asc
  }
r
Will those enums not be mapped to 0, 1, 2? Potentially try re-arranging the order? I could be wrong!
j
Yes
r
Did that work?
Copy code
enum Test {
  Converted
  Open
  Junk
}
j
No, I have to update the type at db level
Using alter tabke
table
I changed the enum type order in db then it worked
🙌 1
💯 1