Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Jruby 1.1.5, MySQL
    • Testcase included:
      yes
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      When we use direct type specification in migrations, error triggered during migration in type_to_sql function. Testcase:

      create_table :tests do |t|
         t.integer :test
      end
      
      change_column :tests, :test, 'integer unsigned'
      

      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)

        Activity

        Show
        Nick Sieger added a comment - Fixed in http://github.com/nicksieger/activerecord-jdbc-adapter/commit/6e48f26493809e5b91588b1f6e0213e0395b3e8b

          People

          • Assignee:
            Nick Sieger
            Reporter:
            Alexander Borovsky
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: