With activerecord (< 5.0, >= 3.2)
I was able to use the activerecord-mysql-unsigned
gem to create an UNSIGNED INT in my MySQL database, but there's been no updates to that gem and I can't find any documentation regarding native support for that in Rails 5.
Is there an options hash or something that can be called in the add_column method which allows this to be done?
NATIVE_DATABASE_TYPES
in Rails 3 and 4. So that by default new tables are created with a BigInt Unsignedid
column? – Niel