2009/4/14 Platonides <[email protected]>:
> Prince Gerald Albert wrote:
>> Is it a good practice to create my own table to store my extension
>> related data to it? Is there any standard practice for it?
>
> Yes. You usually provide a .sql file to create it, and mention it on
> install instructions.
> Remember to take into account the db prefix when accessing your table name.
>
Note that there's also the LoadExtensionSchemaUpdates hook [1], which
you can use to have your schema changes done as part of update.php .
Of course users still have to run update.php in that case, but they
have to do that on upgrade as well.

Roan Kattouw (Catrope)

[1] http://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to