Skip to content

Commit 0ab6f69

Browse files
authored
Merge pull request #4620 from nextcloud/fix/index-creation
Fix index creation
2 parents d7c88bd + db7688e commit 0ab6f69

32 files changed

Lines changed: 95 additions & 41 deletions

lib/Command/Db/CleanMigrations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use Doctrine\DBAL\Schema\Schema;
1212
use OCA\Polls\Command\Command;
13-
use OCA\Polls\Db\V6\TableManager;
13+
use OCA\Polls\Db\V7\TableManager;
1414
use OCP\IDBConnection;
1515

1616
/**

lib/Command/Db/CreateIndices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use Doctrine\DBAL\Schema\Schema;
1212
use OCA\Polls\Command\Command;
13-
use OCA\Polls\Db\V6\IndexManager;
13+
use OCA\Polls\Db\V7\IndexManager;
1414
use OCP\IDBConnection;
1515

1616
/**

lib/Command/Db/FixDB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use Doctrine\DBAL\Schema\Schema;
1212
use OCA\Polls\Command\Command;
13-
use OCA\Polls\Db\V6\TableManager;
13+
use OCA\Polls\Db\V7\TableManager;
1414
use OCP\IDBConnection;
1515

1616
/**

lib/Command/Db/Purge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
namespace OCA\Polls\Command\Db;
1010

1111
use OCA\Polls\Command\Command;
12-
use OCA\Polls\Db\V6\TableManager;
12+
use OCA\Polls\Db\V7\TableManager;
1313
use OCP\IDBConnection;
1414

1515
/**

lib/Command/Db/Rebuild.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
namespace OCA\Polls\Command\Db;
1010

1111
use Doctrine\DBAL\Schema\Schema;
12-
use OCA\Polls\Db\V6\TableManager;
13-
use OCA\Polls\Db\V6\IndexManager;
12+
use OCA\Polls\Db\V7\TableManager;
13+
use OCA\Polls\Db\V7\IndexManager;
1414
use OCA\Polls\Command\Command;
1515
use OCP\IDBConnection;
1616

lib/Command/Db/RemoveFKConstraints.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use Doctrine\DBAL\Schema\Schema;
1212
use OCA\Polls\Command\Command;
13-
use OCA\Polls\Db\V6\IndexManager;
13+
use OCA\Polls\Db\V7\IndexManager;
1414
use OCP\IDBConnection;
1515

1616
/**

lib/Command/Db/RemoveOptionalIndices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use Doctrine\DBAL\Schema\Schema;
1212
use OCA\Polls\Command\Command;
13-
use OCA\Polls\Db\V6\IndexManager;
13+
use OCA\Polls\Db\V7\IndexManager;
1414
use OCP\IDBConnection;
1515

1616
/**

lib/Command/Db/RemoveUniqueIndices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use Doctrine\DBAL\Schema\Schema;
1212
use OCA\Polls\Command\Command;
13-
use OCA\Polls\Db\V6\IndexManager;
13+
use OCA\Polls\Db\V7\IndexManager;
1414
use OCP\IDBConnection;
1515

1616
/**

lib/Command/Db/ResetWatch.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010

1111
use Doctrine\DBAL\Schema\Schema;
1212
use OCA\Polls\Command\Command;
13-
use OCA\Polls\Db\V6\IndexManager;
14-
use OCA\Polls\Db\V6\TableManager;
13+
use OCA\Polls\Db\V7\IndexManager;
14+
use OCA\Polls\Db\V7\TableManager;
1515
use OCA\Polls\Db\Watch;
16-
use OCA\Polls\Migration\V6\TableSchema;
16+
use OCA\Polls\Migration\V7\TableSchema;
1717
use OCP\IDBConnection;
1818

1919
/**

lib/Cron/JanitorCron.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use OCA\Polls\Db\OptionMapper;
1717
use OCA\Polls\Db\PollMapper;
1818
use OCA\Polls\Db\ShareMapper;
19-
use OCA\Polls\Db\V6\TableManager;
19+
use OCA\Polls\Db\V7\TableManager;
2020
use OCA\Polls\Db\VoteMapper;
2121
use OCA\Polls\Model\Settings\AppSettings;
2222
use OCP\AppFramework\Utility\ITimeFactory;

0 commit comments

Comments
 (0)