Пример #1
0
 protected function doRemoveNotNullEmptyDefaults2()
 {
     $meta = $this->db->fieldInfo('ipblocks', 'ipb_by_text');
     if ($meta->isNullable()) {
         return;
     }
     $this->applyPatch('patch_remove_not_null_empty_defs2.sql', false, "Removing not null empty constraints");
 }
Пример #2
0
 /**
  * Remove DEFAULT '' NOT NULL constraints from fields as '' is internally
  * converted to NULL in Oracle
  */
 protected function doRemoveNotNullEmptyDefaults()
 {
     $this->output("Removing not null empty constraints ... ");
     $meta = $this->db->fieldInfo('categorylinks', 'cl_sortkey_prefix');
     if ($meta->isNullable()) {
         $this->output("constraints seem to be removed\n");
         return;
     }
     $this->applyPatch('patch_remove_not_null_empty_defs.sql', false);
     $this->output("ok\n");
 }
Пример #3
0
 protected function doRemoveNotNullEmptyDefaults2()
 {
     $this->output("Removing not null empty constraints ... ");
     $meta = $this->db->fieldInfo('ipblocks', 'ipb_by_text');
     if ($meta->isNullable()) {
         $this->output("constraints seem to be removed\n");
         return;
     }
     $this->applyPatch('patch_remove_not_null_empty_defs2.sql', false);
     $this->output("ok\n");
 }