I'm struggling with an issue when trying to compare schemas of two mysql databases. I'll explain with an example: I have added an index to one of the columns, something that should have been summed as something like: ALTER TABLE `tablename` ADD INDEX `index_name` (`column_name`); And instead.. it wants me to do the whole "create temp table, copy data to temp table, drop original table,rename temp table to original table name".. that's crazy and moreover, it might (and will) lead to some downtime when trying to update a production db. Is there a way to change that behavior? Thanks
↧