-
Bug
-
Resolution: Fixed
-
Major
-
3.0.10
-
None
The generated code should be ALTER TABLE tablename ADD UNIQUE INDEX indexname (columns);
Currently the indexname is not used, leading to the first column name being used as default which can cause problems if you later want to drop an INDEX by name in the updater.
We will have to do some analysis to see if we have added unique indexes in updates before and whether we can identify and rename them safely.
- was caused by solution of
-
PHPBB-10327 Use "ALTER TABLE ... ADD INDEX" instead of "CREATE INDEX"
- Unverified Fix