It looks like some line of the pandoradb_migrate is incorrect. What is the console version you installed to get it? I would suggest you to manually update your console with rpm -Uvh with the packages you can find here: https://sourceforge.net/projects/pandora/files/Pandora%20FMS%206.0/SP4Final/RHEL_CentOS/
And then try to apply the database update.
Is your environment a new fresh installation or are you updating from an older installation that has already data on it?