Vbulletin bulk importer: null value in column "pinned_globally" of relation "topics" violates not-null constraint

It’s taken me another several hours, but here’s why–the process_topic function handles all of those default values.

I guess there should be a

topic[:pinned_globally] ||= false

or maybe

topic[:pinned_globally] ||= topic[:pinned_at].nil?