diff options
author | Joas Schilling <coding@schilljs.com> | 2023-07-05 10:19:45 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-10-06 15:29:25 +0200 |
commit | ad839dbb0a095911da519ef19c6a8b494d0f1697 (patch) | |
tree | 3ef005001f7d8084ac573146efacf0b6a0bd4008 /lib/private/Repair.php | |
parent | 00acf1bae1b35dcbd13e858ccc1a706f2c6e1d8c (diff) | |
download | nextcloud-server-ad839dbb0a095911da519ef19c6a8b494d0f1697.tar.gz nextcloud-server-ad839dbb0a095911da519ef19c6a8b494d0f1697.zip |
fix(sqlite): Remove no longer required autoincrement fix
- I installed current master and exported the schema as SQL
- Then I went to this branch, removed the content of the run() method (so made it no-op)
- I installed again and exported the schema as SQL
- The files are exactly the same, so whatever we tried to fix was fixed since 2015 in doctrine dbal
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r-- | lib/private/Repair.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php index 05624a2423a..5c68c106993 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -84,7 +84,6 @@ use OC\Repair\RemoveLinkShares; use OC\Repair\RepairDavShares; use OC\Repair\RepairInvalidShares; use OC\Repair\RepairMimeTypes; -use OC\Repair\SqliteAutoincrement; use OC\Template\JSCombiner; use Psr\Log\LoggerInterface; use Throwable; @@ -235,14 +234,11 @@ class Repair implements IOutput { * @return IRepairStep[] */ public static function getBeforeUpgradeRepairSteps() { - /** @var Connection $connection */ - $connection = \OC::$server->get(Connection::class); /** @var ConnectionAdapter $connectionAdapter */ $connectionAdapter = \OC::$server->get(ConnectionAdapter::class); $config = \OC::$server->getConfig(); $steps = [ new Collation(\OC::$server->getConfig(), \OC::$server->get(LoggerInterface::class), $connectionAdapter, true), - new SqliteAutoincrement($connection), new SaveAccountsTableData($connectionAdapter, $config), new DropAccountTermsTable($connectionAdapter), ]; |