pgEnum + Neon migrations type error
Please someone help me, I don't understand why I'm getting this error on migrations:
This is my user schema:
3 Replies
You referencing roles somewhere before it exists
Is this the only table u have?
Yep I didn't put it in my app yet I was just trying to setup the roles in my table I double checked and the only references to roles is in this file
There is a 2nd table accounts
It follows the Auth.js setup but just got account and users
This is not working properly I can confirm it
@DragonCoder99 the issue on my case was not exporting the enum if u exporting it should be working on latest I just tested