What is the best way to create a model that has a field that is an integer enum? ex: rails g model status (I do not know how to report it is an enum nor the data type)
What is the best way to create a model that has a field that is an integer enum? ex: rails g model status (I do not know how to report it is an enum nor the data type)
You can use a boolean for true
or false
values.
status:boolean