Skip to content

Commit

Permalink
[FIX] increase max object import-id length to 255 characters.
Browse files Browse the repository at this point in the history
  • Loading branch information
thibsy authored and kergomard committed Sep 27, 2024
1 parent a3ccd39 commit 13bda47
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,16 @@ public function step_1(): void
$this->db->addIndex('webr_items', ['webr_id'], 'i3');
}
}

/**
* Increases the maximum length of object import-ids from 50 to 255 characters.
*/
public function step_2(): void
{
$this->db->modifyTableColumn("object_data", "import_id", [
"type" => \ilDBConstants::T_TEXT,
"length" => 255,
"notnull" => false
]);
}
}

0 comments on commit 13bda47

Please sign in to comment.