This should be easy but can't think how to do it.
I want to add a unique index to my table but I can't use $editor->add_unique because there are already duplicate entries in the table that I want to be removed. So I need to run this mysql command:
ALTER IGNORE TABLE Tablename ADD UNIQUE INDEX(field1,field2);
Any idea how I can do this through links?
I want to add a unique index to my table but I can't use $editor->add_unique because there are already duplicate entries in the table that I want to be removed. So I need to run this mysql command:
ALTER IGNORE TABLE Tablename ADD UNIQUE INDEX(field1,field2);
Any idea how I can do this through links?