Kill that funky enum, dev boy
devblog.eduhub.nl
Kill that funky enum, dev boy
1–2 of 2 posts
Re: Kill that funky enum, dev boy
#2Using enum isn't just about limiting the value to predefined options, it also requires less storage space, however for most applications I would agree (and use the same concept myself) of having the value:text pairs in the app code on the model (or a helper class if it's a common type of column, ie several tables might have a "state" column.)