The Schema Module reports the below errors with Mail Logger. The posted patch fixes the issue for me.

  • column subject - difference on: length
    declared: array('description' => 'TODO: please describe this field!', 'type' => 'varchar', 'length' => 2047, 'not null' => TRUE)
    actual: array('description' => 'Mail subject', 'type' => 'varchar', 'length' => '255', 'not null' => TRUE)
  • column ipaddr - difference on: not null
    declared: array('description' => 'TODO: please describe this field!', 'type' => 'varchar', 'length' => 45)
    actual: array('description' => 'IP Address of User', 'type' => 'varchar', 'length' => '45', 'not null' => TRUE)
  • indexes mailfrom:
    declared: array('mailfrom', '100')
    actual: array(array('mailfrom', 100))
  • indexes mail_system: unexpected (not an error)
CommentFileSizeAuthor
mail_logger-fix-schema-mismatches.patch1.34 KBjesse.d

Comments

jesse.d created an issue. See original summary.

  • NancyDru committed 390757c on 7.x-1.x authored by jesse.d
    Issue #2900744 by jesse.d: Schema Module Mismatching Tables
    

NancyDru credited NancyDru.

nancydru’s picture

Status: Active » Fixed

Committed. Thanks for supplying a patch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.