Problems with migrations where direct type specified
----------------------------------------------------
Key: JRUBY-3222
URL: http://jira.codehaus.org/browse/JRUBY-3222
Project: JRuby
Issue Type: Bug
Components: ActiveRecord-JDBC
Affects Versions: ActiveRecord-JDBC 0.8.2
Environment: Jruby 1.1.5, MySQL
Reporter: Alexander Borovsky
Attachments: activerecord-jdbc-adapter.patch
When we use direct type specification in migrations, error triggered during
migration in type_to_sql function. Testcase:
{code}
create_table :tests do |t|
t.integer :test
end
change_column :tests, :test, 'integer unsigned'
{code}
For fix this problem this function should be ported from new rails (f.e.
attached patch change this function to Rails's 2.1.2 version)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email