Hi all,

I posted this patch the other day, now it's time to drum up some
support for it :D
http://rails.lighthouseapp.com/projects/8994/tickets/300-unsigned-integers-for-mysql

To summarise, it does the following:

* changes the primary key data type for the MySQL adapter to be
"int(11) unsigned"

* changes the references/belongs_to 'sexy' migration methods to
generate unsigned foreign key fields by default when using MySQL
(other adapters remain unchanged)

* adds an :unsigned option (defaults to false) to table creation and
modification migrations

* updates the SchemaDumper to understand unsigned integer fields


If this sounds good to you, please take a look!

--
Rob Anderton
http://www.thewebfellas.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to