Error when creating a new client template (3.1)

An error is shown when trying to save a new client template.

Unknown column 'default_mailserver' in 'field list'