Hi, I've installed the latest Panelizer -dev module and am getting the following error related to schema inconsistency

column view_mode - differences on: not null, default
declared: array('description' => 'TODO: please describe this field!', 'type' => 'varchar', 'length' => '128')
actual: array('description' => 'Contains the view mode this panelizer is for.', 'type' => 'varchar', 'length' => '128', 'not null' => TRUE, 'default' => '')

Both Panels and Ctools modules are the latest -dev releases

Thank you

CommentFileSizeAuthor
#2 panelizer-n2147303-2.patch1.29 KBdamienmckenna

Comments

costinius’s picture

Issue summary: View changes
damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new1.29 KB

Though MySQL implies the 'not null' for primary key fields, this updates the field spec accordingly.

damienmckenna’s picture

damienmckenna’s picture

Status: Needs review » Needs work
damienmckenna’s picture

Status: Needs work » Needs review
Christopher Riley’s picture

Thank you this works like a champ.

  • Commit 59e3f0d on 7.x-3.x by DamienMcKenna:
    Issue #2147303 by DamienMcKenna: Make {panelizer_entity}.view_mode NOT...
damienmckenna’s picture

@cmriley: Thanks for the review. This has been committed.

damienmckenna’s picture

Status: Needs review » Fixed

(forgot to change the status)

Status: Fixed » Closed (fixed)

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