suggestion: raise on method unknown in a migration

Hello all.
Noticed today that this code:

class CreateCache < ActiveRecord::Migration
  def self.up
    create_table :cache do |t|
       t.bigint :name
    end
end
end

in rails 2.3.x *silently* ignores the bigint setting [!]

Might be good to at least warn or raise an exception even better
Cheers!
-roger-

Does this problem appears on 3.0.x too?

Does this problem appears on 3.0.x too?

Nope 3.x says

undefined method `int'

So that's better at least...

-roger-

Hmm … I think we can improve on that. However, I don’t think there will be another release of 2.3.x unless there’s a security hole in it.

Hmm .. I think we can improve on that. However, I don't think there will be
another release of 2.3.x unless there's a security hole in it.

Sound reasonable. Thanks for the timely responses :slight_smile:
-roger-