NullPointerException when MySQL foreign key points to an invalid table

Description

Mysql allows you to create a foreign key that does not actually have a valid reference.

Example:

The snapshot logic ends up with a ForeignKey object with a null table. GenerateChangeLog ends up throwing an exception of:

Environment

Mysql

Reporter

Nathan Voxland

Fix versions

Affects versions

Priority

Major
Configure