Extend 'RailsAttrEnum' and add 'attr_enum' on 'role' attribute
Ensure the table for the model exists before trying to check column_names

I discovered this as a bug when I tried to freshly load a development
db on a Rails app (`rake db:schema:load`), and the call to
'column_names' in 'add_attr_enum' was crashing the rake task.