waka / activerecord-mysql-unsigned

Enable to use the "unsigned" option in the integer type for migrating of ActiveRecord
MIT License
31 stars 12 forks source link

Fix for rails 4.1.2 #8

Closed SpringMT closed 10 years ago

SpringMT commented 10 years ago

Set unsigned default value at type_to_sql. Add columns options at add_column_options!.

SpringMT commented 10 years ago

Reference https://github.com/rails/rails/commit/78e4862f6f7079c10af44c269bf98046a41bc8cf https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb#L37

waka commented 10 years ago

LGTM! I will update version to "0.1.3" after merged.

SpringMT commented 10 years ago

thx!