Unknown column 'attributes' in 'field list after bench update


After a recent bench update, I am facing these following problems:

  1. While I am trying to save an existing Item, I am getting this error:

Traceback (most recent call last):
File “/home/uma/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
File “/home/uma/frappe-bench/apps/frappe/frappe/model/document.py”, line 256, in save
return self._save(*args, **kwargs)
File “/home/uma/frappe-bench/apps/frappe/frappe/model/document.py”, line 293, in _save
File “/home/uma/frappe-bench/apps/frappe/frappe/model/document.py”, line 438, in _validate
File “/home/uma/frappe-bench/apps/frappe/frappe/model/base_document.py”, line 513, in _validate_constants
values = frappe.db.get_value(self.doctype, self.name, constants, as_dict=True)
File “/home/uma/frappe-bench/apps/frappe/frappe/database.py”, line 429, in get_value
order_by, cache=cache)
File “/home/uma/frappe-bench/apps/frappe/frappe/database.py”, line 473, in get_values
out = self._get_values_from_table(fields, filters, doctype, as_dict, debug, order_by, update)
File “/home/uma/frappe-bench/apps/frappe/frappe/database.py”, line 605, in _get_values_from_table
as_dict=as_dict, debug=debug, update=update)
File “/home/uma/frappe-bench/apps/frappe/frappe/database.py”, line 154, in sql
self._cursor.execute(query, values)
File “/home/uma/frappe-bench/env/src/mysqlclient/MySQLdb/cursors.py”, line 250, in execute
self.errorhandler(self, exc, value)
File “/home/uma/frappe-bench/env/src/mysqlclient/MySQLdb/connections.py”, line 50, in defaulterrorhandler
raise errorvalue
OperationalError: (1054, “Unknown column ‘attributes’ in ‘field list’”)

  1. When I am trying to create an Item, I am getting this error:

Am wondering whether its an issue with my bench, or is anyone else also facing a similar issue?