Esempio n. 1
0
 /**
  * Schema upgrade 16->17
  * there are no incremental patches prior to this
  */
 protected function doSchemaUpgrade17()
 {
     // check if iwlinks table exists which was added in 1.17
     if ($this->db->tableExists('iwlinks')) {
         return;
     }
     $this->applyPatch('patch_16_17_schema_changes.sql', false, "Updating schema to 17");
 }
Esempio n. 2
0
 /**
  * Schema upgrade 16->17
  * there are no incremental patches prior to this
  */
 protected function doSchemaUpgrade17()
 {
     $this->output("Updating schema to 17 ... ");
     // check if iwlinks table exists which was added in 1.17
     if ($this->db->tableExists('iwlinks')) {
         $this->output("schema seem to be up to date.\n");
         return;
     }
     $this->applyPatch('patch_16_17_schema_changes.sql', false);
     $this->output("ok\n");
 }