Bug #5110
migration: Duplicate column name 'type'
Description
TABLE gradebook_evaluation ADD COLUMN type varchar(40) NOT NULL
Associated revisions
see #5110: migration: Duplicate column name 'type'
History
Updated by Laurent Opprecht over 8 years ago
- Status changed from New to Needs testing
- % Done changed from 0 to 100
Updated by Yannick Warnier over 8 years ago
- Status changed from Needs testing to Needs more info
- % Done changed from 100 to 90
I don't know if that's Redmine or your commit, but there is no reference to "type" in this commit (just something about glossary)
Updated by Laurent Opprecht over 8 years ago
- % Done changed from 90 to 0
Dont' think I actually did something for that one (looks like things got mixed up with another revision I am afraid)
IN migrate-db-1.8.6-1.8.6.1-pre
ALTER TABLE gradebook_evaluation ADD COLUMN type varchar(40) NOT NULL default 'evaluation';
IN migrate-db-1.8.6.1-1.8.6.2-pre
-- This first part is for the main database
-- xxMAINxx
ALTER TABLE gradebook_evaluation ADD COLUMN type varchar(40) NOT NULL;
Not sure which one I need to remove
Updated by Laurent Opprecht over 8 years ago
- Assignee changed from Laurent Opprecht to Yannick Warnier
Updated by Yannick Warnier over 8 years ago
- Status changed from Needs more info to Assigned
- Assignee changed from Yannick Warnier to Laurent Opprecht
You should remove the one without the default value (I got that by checking the db_main.sql)
Updated by Julio Montoya over 8 years ago
- Status changed from Assigned to Bug resolved
- Assignee deleted (
Laurent Opprecht) - % Done changed from 0 to 100
I confirmed that
-- xxMAINxx ALTER TABLE gradebook_evaluation ADD COLUMN type varchar(40) NOT NULL;
was removed.
see #5110 Duplicate column name 'type'