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 <jus@bitgrid.net>
  • Loading branch information
juliushaertl committed Aug 7, 2024
1 parent 2996339 commit 4d25f52
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')]
class Version040100Date20240611165300 extends SimpleMigrationStep {
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
/** @var ISchemaWrapper $schema */
Expand Down

0 comments on commit 4d25f52

Please sign in to comment.