diff options
Diffstat (limited to 'lib/private/Repair/SqliteAutoincrement.php')
-rw-r--r-- | lib/private/Repair/SqliteAutoincrement.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/private/Repair/SqliteAutoincrement.php b/lib/private/Repair/SqliteAutoincrement.php index d7cac57229d..e6f90dcece3 100644 --- a/lib/private/Repair/SqliteAutoincrement.php +++ b/lib/private/Repair/SqliteAutoincrement.php @@ -26,13 +26,14 @@ use Doctrine\DBAL\Schema\SchemaException; use Doctrine\DBAL\Schema\SchemaDiff; use Doctrine\DBAL\Schema\TableDiff; use Doctrine\DBAL\Schema\ColumnDiff; -use OC\Hooks\BasicEmitter; +use OCP\Migration\IOutput; +use OCP\Migration\IRepairStep; /** * Fixes Sqlite autoincrement by forcing the SQLite table schemas to be * altered in order to retrigger SQL schema generation through OCSqlitePlatform. */ -class SqliteAutoincrement extends BasicEmitter implements \OC\RepairStep { +class SqliteAutoincrement implements IRepairStep { /** * @var \OC\DB\Connection */ @@ -52,7 +53,7 @@ class SqliteAutoincrement extends BasicEmitter implements \OC\RepairStep { /** * Fix mime types */ - public function run() { + public function run(IOutput $out) { if (!$this->connection->getDatabasePlatform() instanceof SqlitePlatform) { return; } |