upgrade from 1.8 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon |
Bug Description
when I upgrade from 1.8_STABLE to 1.9dev I get this error:
Could not execute command: ALTER TABLE usr_custom_layout ADD CONSTRAINT usrcustlayo_gro_fk FOREIGN KEY (`group`) REFERENCES `group` (id)
Call stack (most recent first):
execute_
execute_
add_
xmldb_
upgrade_
This is because a fix 09b2f5ba730d4d0
The version in master needs to check if foreign keys already exist or not.
tags: | added: regression |
Changed in mahara: | |
status: | Confirmed → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/3080