summaryrefslogtreecommitdiffstats
path: root/lib/private/repair.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-03-03 11:14:45 +0100
committerVincent Petry <pvince81@owncloud.com>2015-03-26 19:43:02 +0100
commitb896be821fce0b998d5b11f5a8a99430b42ca357 (patch)
tree0de96346a74bb20bdd77bc64f62ab5cda50ab727 /lib/private/repair.php
parente90ead2a8dadab6a77e827bec382ebb41f1c4c97 (diff)
downloadnextcloud-server-b896be821fce0b998d5b11f5a8a99430b42ca357.tar.gz
nextcloud-server-b896be821fce0b998d5b11f5a8a99430b42ca357.zip
SQLite autoincrement fix backport
Add custom sqlite platform to set auto increment Add repair step to fix SQLite autoincrement Force Doctrine to generate alter table SQL statements for SQLite to make sure the code from OCSqlitePlatform is triggered.
Diffstat (limited to 'lib/private/repair.php')
-rw-r--r--lib/private/repair.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/repair.php b/lib/private/repair.php
index c74283896fd..c71af983b81 100644
--- a/lib/private/repair.php
+++ b/lib/private/repair.php
@@ -13,6 +13,7 @@ use OC\Hooks\Emitter;
use OC\Repair\AssetCache;
use OC\Repair\CleanTags;
use OC\Repair\Collation;
+use OC\Repair\SqliteAutoincrement;
use OC\Repair\EnableFilesApp;
use OC\Repair\FillETags;
use OC\Repair\InnoDB;
@@ -99,6 +100,7 @@ class Repair extends BasicEmitter {
$steps = array(
new InnoDB(),
new Collation(\OC::$server->getConfig(), \OC_DB::getConnection()),
+ new SqliteAutoincrement(\OC_DB::getConnection()),
new SearchLuceneTables(),
new RepairConfig()
);