18 declare(strict_types=1);
29 $this->database = $db;
39 if ($this->database->tableExists(
"il_upload_policy")) {
43 $this->database->createTable(
"il_upload_policy", [
54 "upload_limit_in_mb" => [
69 "scope_definition" => [
93 'type' =>
'timestamp',
97 'type' =>
'timestamp',
102 $this->database->createSequence(
"il_upload_policy");
111 if (null === $this->database) {
112 throw new LogicException(self::class .
"::prepare() must be called before db-update-steps execution.");
prepare(ilDBInterface $db)
step_1()
adds a new table to store data of file upload policies