Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
- Persist aggregation and disaggregation chart functions and show their secondary axis automatically.
- Mark the Analysis menu when aggregation or disaggregation functions are active.

### Changed
- Store report option data as longtext instead of varchar(1000).

### Fixed
- Match navigation and navigation-menu icon colors to their labels in light and dark themes.
- Export panoramas using a consistent light theme in PDFs.
Expand Down
33 changes: 33 additions & 0 deletions lib/Migration/Version6802Date20260903100000.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php
/**
* Analytics
*
* SPDX-FileCopyrightText: 2026 Marcel Scherello
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

declare(strict_types=1);

namespace OCA\Analytics\Migration;

use Closure;
use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;

class Version6802Date20260903100000 extends SimpleMigrationStep {
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
/** @var ISchemaWrapper $schema */
$schema = $schemaClosure();

$table = $schema->getTable('analytics_report');
foreach (['chartoptions', 'dataoptions', 'filteroptions', 'tableoptions'] as $column) {
$table->changeColumn($column, [
'type' => 'text',
'notnull' => false,
]);
}

return $schema;
}
}
Loading