19 declare(strict_types=1);
    41         if ($this->db->tableExists(
"export_files")) {
    44         $this->db->createTable(
"export_files", [
    64                 'type' => 
'timestamp',
    68         $this->db->addPrimaryKey(
"export_files", [
"object_id", 
"rid"]);
    76         if ($this->db->tableExists(
"export_public_access")) {
    79         $this->db->createTable(
"export_public_access", [
    86             'export_option_id' => [
    99                 'type' => 
'timestamp',
   103         $this->db->addPrimaryKey(
"export_public_access", [
"object_id"]);
   111         if (!$this->db->tableExists(
"export_file_info")) {
   115             $this->db->tableColumnExists(
"export_file_info", 
"migrated")
   119         $this->db->addTableColumn(
"export_file_info", 
"migrated", [
 step_2()
Create table to store info about the public access file of an object. 
 
prepare(ilDBInterface $db)
 
step_1()
Create new export file table. 
 
step_3()
Add migrate column to table export_file_info.