Skip to content

Commit

Permalink
chore: Add migration attributes
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Aug 6, 2024
1 parent b692a9c commit 40c6d47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Migration/Version040100Date20240611165300.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@
use Closure;
use OCP\DB\ISchemaWrapper;
use OCP\DB\Types;
use OCP\Migration\Attributes\AddColumn;
use OCP\Migration\Attributes\ColumnType;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;

#[AddColumn(table: 'text_steps', name: 'timestamp', type: ColumnType::BIGINT, description: 'Tracking the timestamp of a document editing step')]

Check failure on line 20 in lib/Migration/Version040100Date20240611165300.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis

UndefinedAttributeClass

lib/Migration/Version040100Date20240611165300.php:20:3: UndefinedAttributeClass: Attribute class OCP\Migration\Attributes\AddColumn does not exist (see https://psalm.dev/241)
class Version040100Date20240611165300 extends SimpleMigrationStep {
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
/** @var ISchemaWrapper $schema */
Expand Down

0 comments on commit 40c6d47

Please sign in to comment.