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 <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz committed Mar 21, 2024
1 parent 1b2d9b5 commit 5566f9d
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 5566f9d

Please sign in to comment.