The problem is caused by an SQL syntax error because there is small bug in the migrate_example_beer_account table's schema. All parts of primary keys must be not null, but the related line is commented out in the mentioned table.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

balazswmann created an issue. See original summary.

balazswmann’s picture

Assigned: balazswmann » Unassigned
Status: Active » Needs review
FileSize
612 bytes

I have attached a patch to fix the problem.

  • mikeryan committed 4baf544 on 8.x-2.x authored by balazswmann
    Issue #2787851 by balazswmann: Cannot enable migrate_example module
    
mikeryan’s picture

Status: Needs review » Fixed

Interesting - I haven't seen a problem here, and I thought serial fields were automatically set NOT NULL - but, it doesn't hurt to be explicit. Committed, thanks!

Status: Fixed » Closed (fixed)

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