Restore username index

Bug #784322 reported by Richard Mansfield
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Richard Mansfield
1.4
Fix Released
Medium
Richard Mansfield

Bug Description

It seems like change_field_precision can silently drop db indexes on the column, at least on postgres. We need to check whether the username unique index exists & recreate it if necessary.

In theory duplicates could have snuck in between 20110506 and 20110518, but the application tries hard to stop this from happening, and no stable version has the username upgrade yet, so recreating the index should just work.

Changed in mahara:
status: Confirmed → In Progress
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Confirmed
status: Confirmed → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.