Skip to content

Commit

Permalink
User: Increase Size of title field in Clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard committed Dec 13, 2024
1 parent b796a48 commit 6c5bd58
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Services/User/classes/Setup/class.ilUser8DBUpdateSteps.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,15 @@ public function step_5(): void
$this->db->addPrimaryKey('usr_change_email_token', ['token']);
}
}

public function step_6(): void
{
if ($this->db->tableColumnExists('personal_clipboard', 'title')) {
$this->db->modifyTableColumn('personal_clipboard', 'title', [
'type' => \ilDBConstants::T_TEXT,
'length' => 255,
'notnull' => false
]);
}
}
}

0 comments on commit 6c5bd58

Please sign in to comment.