-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Steps to reproduce
- Install OC 5.0.14a from scratch (use MariaDB/MySQL)
- Upload a few files, create shares, run a search (for file index), but I think it's not needed
- Upgrade to OC 5.0.15rc1
- Upgrade to OC 6.0.2rc1
Env
DB: MariaDB/MySQL
Server OS: openSUSE 13.1 x86_64
The following occurs:
An exception occurred while executing 'ALTER TABLE `oc_privatedata` CHANGE user `user` VARCHAR(255) DEFAULT '' NOT NULL, CHANGE app `app` VARCHAR(255) DEFAULT '' NOT NULL, CHANGE key `key` VARCHAR(255) DEFAULT '' NOT NULL, CHANGE value `value` VARCHAR(255) DEFAULT '' NOT NULL': SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'key `key` VARCHAR(255) DEFAULT '' NOT NULL, CHANGE value `value` VARCHAR(255) DE' at line 1
MariaDB [owncloud2]> describe oc_privatedata;
+-------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------+------------------+------+-----+---------+----------------+
| keyid | int(10) unsigned | NO | PRI | NULL | auto_increment |
| user | varchar(255) | NO | | | |
| app | varchar(255) | NO | | | |
| key | varchar(255) | NO | | | |
| value | varchar(255) | NO | | | |
+-------+------------------+------+-----+---------+----------------+
5 rows in set (0.00 sec)
Doctrine mess up ?