News for hackers. Stuff that matters.
Re:Ask HN: How do you decide what is a many-to-many vs. enum... by stocktech on Wednesday August 26, 2020 @01:25PM (#24284764)
I'd like to see an argument for using enums. I don't think enum constraints belong in the database - it's too business-y and belongs with the business logic. I also agree that join tables are simpler to use/query and will be more flexible. Join tables also make admin features a breeze.

There are no comments on this comment yet.