Domain Mapping Error log

Error logs are getting created related to Domain Mapping in website. For example the logs are like:

[30-May-2018 05:45:45 UTC] WordPress database error Unknown column ‘is_primary’ in ‘field list’ for query SELECT blog_id`

Please check the chat logs for more info about the error. Please advise what should be done to correct this.