Skip to content

Commit

Permalink
fix(DB): nodeType of Contexts is an int
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz authored and enjeck committed Mar 27, 2024
1 parent 33eeb08 commit 738581c
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 738581c

Please sign in to comment.