pgEnum in multiple tables
How should I use the same enum in multiple tables?
For example I have this enum in:
If I want to use the same role enum in another table should I use the same pgEnum `const roleEnum = pgEnum('role', ROLES) i.e. import it? Or create the same pgEnum again?
1 Reply
I believe either way will work