Sam Reed (reedy) <> changed:

           What    |Removed                     |Added
           Keywords|                            |easy

--- Comment #6 from Sam Reed (reedy) <> ---
(In reply to comment #5)
> DatabaseUpdater.php
> This file is not sufficient I think.There has to be some other way.
> Can anyone help me for fixing this?

What? That's how you need to do it; this is pretty simple to fix.

Math already has a database update hook in place:
$wgHooks['LoadExtensionSchemaUpdates'][] =

So then you only need to create a .sql file with the addition of the primary
key, add it to git, and in the same revision edit Math.hooks.php and add a line
to make the new sql file be processed to add the new column.

Then also update the other base sql files to add the new column when creating
the table initially

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to