<div dir="ltr"><div><div>Thank you Zeno,<br><br></div>I will create some sql to do it from the db directly.<br><br></div>Thanks a lot!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 16, 2016 at 4:01 PM, Zeno Tajoli <span dir="ltr"><<a href="mailto:z.tajoli@cineca.it" target="_blank">z.tajoli@cineca.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Hi,<br>
<br>
>I'm migrating from Koha 2 to 3 and the field studentnumber of the table borrowers has gone?<br>
</span>reading the code of <a href="http://update22to30.pl" rel="noreferrer" target="_blank">update22to30.pl</a> the answer is yes.<br>
<br>
<br>
 243     my %uselessfields = (<br>
 244     # tablename => "field1,field2",<br>
 245         borrowers => "suburb,altstreetaddress,<wbr>altsuburb,altcity,<wbr>studentnumber,school,area,<wbr>preferredcont,altcp",<br>
 246         deletedborrowers=> "suburb,altstreetaddress,<wbr>altsuburb,altcity,<wbr>studentnumber,school,area,<wbr>preferredcont,altcp",<br>
 247         items => "multivolumepart,multivolume,<wbr>binding",<br>
 248         deleteditems => "multivolumepart,multivolume,<wbr>binding",<br>
 249         );<br>
<span class=""><br>
> It should be now on a patron custom type?<br>
</span>Yes, but data from borrowers.studentnumber don't migrate.<br>
<br>
If you need to migrate data from borrowers.studentnumber to a specific patron attribute<br>
you need to write and ad hoc script.<br>
About patron attributes see: <a href="http://translate.koha-community.org/manual/16.05/en/patronattributetypes.html" rel="noreferrer" target="_blank">http://translate.koha-<wbr>community.org/manual/16.05/en/<wbr>patronattributetypes.html</a><br>
<br>
Bye<br>
</blockquote></div><br></div>