Skip to content

Commit 4e43530

Browse files
committed
Fix: Large table causes sql error (cache cells)
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
1 parent 2ad5d17 commit 4e43530

13 files changed

+537
-171
lines changed

appinfo/info.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Share your tables and views with users and groups within your cloud.
2626
Have a good time and manage whatever you want.
2727
2828
]]></description>
29-
<version>2.0.0-alpha.1</version>
29+
<version>2.0.0-alpha.2</version>
3030
<licence>agpl</licence>
3131
<author mail="florian.steffens@nextcloud.com">Florian Steffens</author>
3232
<namespace>Tables</namespace>
@@ -57,6 +57,7 @@ Have a good time and manage whatever you want.
5757
<post-migration>
5858
<step>OCA\Tables\Migration\NewDbStructureRepairStep</step>
5959
<step>OCA\Tables\Migration\DbRowSleeveSequence</step>
60+
<step>OCA\Tables\Migration\CacheSleeveCells</step>
6061
</post-migration>
6162
</repair-steps>
6263
<commands>

lib/Db/ColumnMapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function findAll(array $id): array {
9191

9292
/**
9393
* @param integer $tableId
94-
* @return array
94+
* @return Column[]
9595
* @throws Exception
9696
*/
9797
public function findAllByTable(int $tableId): array {
@@ -116,7 +116,7 @@ public function findAllByTable(int $tableId): array {
116116

117117
/**
118118
* @param integer $tableID
119-
* @return array
119+
* @return int[]
120120
* @throws Exception
121121
*/
122122
public function findAllIdsByTable(int $tableID): array {

0 commit comments

Comments
 (0)