Yeah, this is a backport. New AR migrations use instance methods. Old ones (read: 3.0) use class methods.