DEV Community

Discussion on: Postgres enums with Rails

jasonfb profile image
Jason Fleetwood-Boldt • Edited on

unfortunately the db/schema.rb file is messed up with this approach

Could not dump table "users" because of following StandardError

Unknown type 'xyz_setting' for column 'xyz'

dsalahutdinov profile image
Dmitry Salahutdinov Author

Hi! Good point. To have the "native" schema.rb support of postgres enum you could use this ruby gem