Using SQL migrations prevents inf recursion with jruby