I guess the upgrade script has to create the table 'categories_attributes' and transfer the corresponding records from 'objectdata_attributes' to 'categories_attributes'.
Why do you need DBUtil to work?