This relates to a previous question.
What is the proper way to include $wgDBprefix in the sql or hook function so that when tables are created or updated on LoadExtensionSchemaUpdates, the created table names start with the value of $wgDBprefix ?
In the SQL code,
/*_*/ will be replaced with the prefix. For the table name parameter passed to the hook function, replacement will be handled automatically (but that is only used to determine whether the patchfile needs to be executed).
I've updated the patchfile documentation a bit, you can find further details there.