<!--
-->
### Steps to reproduce
1. use ``occ notification:generate <user> <s…hort message>``
### Expected behaviour
successful notification of user
### Actual behaviour
```
sudo -u nobody php occ notification:generate foouser "Hi"
In AbstractMySQLDriver.php line 60:
An exception occurred while executing 'INSERT INTO `oc_notifications` (`app`, `user`, `timestamp`, `object_type`, `object_id`, `subject`, `subject_parameters`, `message`, `message_parameters`, `link`, `icon`, `actions`) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["admin_notifications", "foouser", 157
2466737, "admin_notifications", "5db9f031", "cli", "[\"Hi\"]", "", "[]", "", "", "[]"]:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'icon' in 'field list'
In PDOStatement.php line 119:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'icon' in 'field list'
In PDOStatement.php line 117:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'icon' in 'field list'
```
### Server configuration
**Operating system**:
Gentoo Linux
**Web server:**
nginx 1.17.4
**Database:**
mysql 5.7.27-r1
**PHP version:**
7.2
**Nextcloud version:** (see Nextcloud admin page)
17.0.0
**Where did you install Nextcloud from:**
**Signing status:**
```
Results
=======
- text
- EXTRA_FILE
- .tx/config
- .github/ISSUE_TEMPLATE/Bug_report.md
- .github/ISSUE_TEMPLATE/Feature_request.md
- .github/pull_request_template.md
- .eslintrc.js
- package-lock.json
- l10n/.gitkeep
- .gitattributes
- README.md
- package.json
- .l10nignore
```
**List of activated apps:**
```sudo -u nobody php occ app:list
Enabled:
- accessibility: 1.3.0
- bruteforcesettings: 1.4.0
- calendar: 1.7.1
- cloud_federation_api: 1.0.0
- dav: 1.13.0
- federatedfilesharing: 1.7.0
- files: 1.12.0
- files_rightclick: 0.15.1
- files_sharing: 1.9.0
- files_trashbin: 1.7.0
- files_versions: 1.10.0
- logreader: 2.2.0
- lookup_server_connector: 1.5.0
- nextcloud_announcements: 1.6.0
- notes: 3.0.3
- notifications: 2.5.0
- oauth2: 1.5.0
- password_policy: 1.7.0
- polls: 0.10.4
- privacy: 1.1.0
- provisioning_api: 1.7.0
- recommendations: 0.5.0
- serverinfo: 1.7.0
- sharebymail: 1.7.0
- survey_client: 1.5.0
- text: 1.1.0
- twofactor_backupcodes: 1.6.0
- viewer: 1.1.0
- workflowengine: 1.7.0
Disabled:
- activity
- admin_audit
- comments
- encryption
- federation
- files_external
- files_pdfviewer
- files_videoplayer
- firstrunwizard
- gallery
- support
- systemtags
- theming
- updatenotification
- user_ldap
```
**Nextcloud configuration:**
```
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"example.host.com"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "https:\/\/example.host.com",
"dbtype": "mysql",
"version": "17.0.0.9",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"mail_smtpdebug": true,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"loglevel": 1,
"mail_smtpauthtype": "LOGIN",
"forcessl": true,
"forceSSLforSubdomains": true,
"theme": "",
"maintenance": false,
"trashbin_retention_obligation": "auto",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0
},
"enable_previews": false,
"singleuser": false,
"mail_sendmailmode": "smtp"
}
}
```
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
no
### Client configuration
**Browser:**
Firefox 68
**Operating system:**
### Logs
Gentoo Linux
#### Nextcloud log (data/owncloud.log)
```
Insert your Nextcloud log here
```
#### Browser log
```
none
```