Development Wiki


From phpBB Development Wiki

< Migrations
Revision as of 21:35, 31 January 2013 by Exreaction (Talk | contribs)

Using Migrations in your Extension is very simple to do.

Automatically install/revert Migrations when enabled/purged

If you wish to have your Migrations installed and removed automatically when your extension is enabled and purged respectively, all you need to do is put your Migration files in ext/(your extension name)/migrations/

Run Updates

If the user has updated your extension and new migration files were added, you can call the following function:


Any new migration files included in the migrations/ directory in your extension will then be automatically installed.