Limits on Postgresql integers not respected

I find that limits on postgresql integers are not respected in Rails
For example setting

t.integer :employee_id, :limit => 8

resolves to a regular int in schema.rb:

t.integer :employee_id

Is there a quick monkey-patch to this?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs