pt-osc and Error dropping the old table with foreign key constraint fails.

06-06-2014, 02:26 PM

Hello:

When I run an alter on a table that is referenced, the pt-osc creates its temporary tables and rename the table originates as '_tabla_old'. This makes the child table to change its reference table '_tabla_old'. The problem is when you try to delete the table '_tabla_old' error because this throws me being referenced. What to do in this scenario?.