diff --git a/lib/Migration/Version000800Date20240213123743.php b/lib/Migration/Version000800Date20240213123743.php index cc9f23430..09669b590 100644 --- a/lib/Migration/Version000800Date20240213123743.php +++ b/lib/Migration/Version000800Date20240213123743.php @@ -84,7 +84,7 @@ protected function haveContextNodeRelationTable(ISchemaWrapper $schema): void { $table->addColumn('id', Types::INTEGER, ['autoincrement' => true, 'notnull' => true]); $table->addColumn('context_id', Types::INTEGER, ['notnull' => true]); $table->addColumn('node_id', Types::INTEGER, ['notnull' => true]); - $table->addColumn('node_type', Types::STRING, ['notnull' => true, 'length' => 50]); + $table->addColumn('node_type', Types::INTEGER, ['notnull' => true]); $table->addColumn('permissions', Types::INTEGER, ['notnull' => true]); $table->setPrimaryKey(['id']);