Skip to content
farez edited this page Sep 13, 2010 · 1 revision

Installing:
1. Install and enable devel module
2. Go to admin/settings/devel and
3. Tick the ‘Collect query info’ checkbox
4. Save settings
5. Install and enable migration module
6. Go to admin/settings/migration
7. Configure migration as required
8. Save settings

Capturing updates:
9. Click on ‘Start Query Monitor’ link at bottom right
10. Do your updates
11. Click on ‘Stop Query Monitor’ link

Captured queries should be in sites/default/files/migration/queries.sql (or whatever you set the directory to be in step 7)

Updating:
Either import the queries.sql file into your DB, or stick it in a hook_update_N() function and use update.php.

Clone this wiki locally