How to store enumerated flags in a table https://www.danylkoweb.com/Blog/how-to-store-enumerated-flags-in-a-table