As an alternative to switching to the standard way of handling schemas and indices, this PR avoid recreating already correct indices and foreign keys.
On foreign keys I’m less sure because I fail to see why they were recreated to start with, given that they are only removed on tables from TableSchema::FK_CHILD_TABLES, and I do not think the name of the parent table can ever change?
Hello,
As an alternative to switching to the standard way of handling schemas and indices, this PR avoid recreating already correct indices and foreign keys.
On foreign keys I’m less sure because I fail to see why they were recreated to start with, given that they are only removed on tables from
TableSchema::FK_CHILD_TABLES
, and I do not think the name of the parent table can ever change?