3 ms·
Possibly because ENUM column types don't seem to exist in all SQL databases? I could be wrong though...
by entee 8y ago
Possibly because ENUM column types don't seem to exist in all SQL databases? I could be wrong though...
- craftyguy 8y agoENUM is in mysql/mariadb. Not sure about oracle or some of the more obscure ones..
- nerdponx 8y agoPostgres has it: https://www.postgresql.org/docs/current/static/datatype-enum.html https://www.postgresql.org/docs/current/static/datatype-enum...
- emmelaich 8y agoYou can just make an other table and map a few integers to the statuses. It's another join but I wouldn't think so much difference over the 'lookup' required for proper ENUM support?