Default refid is always fallback now, or 0 if sql_patches is absend