Using `build_type_enum` and `build_type` and new table: `product_build_types`

Must cast to `text` here because I'm using two enums. Sorry! It's a transitional thing to enable functionality without changing any python.