Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Incomplete
-
Affects Version/s: JRuby 1.3.1
-
Fix Version/s: None
-
Component/s: JRuby-extras
-
Labels:None
-
Environment:activerecord-jdbcmysql-adapter v 0.9.1, Rails 2.2.2
-
Number of attachments :
Description
To reproduce: Make a dummy rails 2.2.2 app. Create first migration to create a table with float column having a default value and not null. Make a second migration renaming the column. The default constraints are not included on the generated ALTER TABLE rename command.
If you could make a test case out of this, that would be great. See the file test/mysql_nonstandard_primary_key_test.rb in ar-jdbc source for some hints.