Skip to content

Commit

Permalink
Merge pull request #946 from nextcloud/fix/noid/db-nodetype-int
Browse files Browse the repository at this point in the history
fix(DB): nodeType of Contexts is an int
  • Loading branch information
blizzz authored Mar 21, 2024
2 parents 1b2d9b5 + 5566f9d commit 6ef7e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Migration/Version000800Date20240213123743.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit 6ef7e56

Please sign in to comment.