<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -28,4 +28,14 @@ Notes
 =====
 If you have old migrations from the Engines-based CE, you may experience some problems if you try to migrate your db from version 0. That's because the old plugin migrations used the `Engines.plugins[&quot;community_engine&quot;].migrate(version_number)` format. You'll need to replace all those with `migrate_plugin(:community_engine, version_number)`.
 
+Here's a regex that might help you in doing that:
+
+Find: 
+
+        (Engines|Rails)\.plugins\[\&quot;community_engine\&quot;\]\.migrate\(([0-9]+)\)
+        
+Replace: 
+
+        migrate_plugin(:community_engine, $2)  
+
 Also, you need to run `rake community_engine:db:migrate:upgrade_desert_plugin_migrations` before you migrate any _new_ CE migrations, to ensure your plugin migrations are listed in the correct table. Please note that you'll have to do this (carefully, and with backups) in production as well. Please post any questions to the CE Google Group.
\ No newline at end of file</diff>
      <filename>UPGRADING.markdown</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a66f240b9d6857ecc3806e99419dc337e50a69f1</id>
    </parent>
  </parents>
  <author>
    <name>bborn</name>
    <email>bruno.bornsztein@gmail.com</email>
  </author>
  <url>http://github.com/bborn/communityengine/commit/e5682d22f6724bd2c13d9e60835febe6f6c4f823</url>
  <id>e5682d22f6724bd2c13d9e60835febe6f6c4f823</id>
  <committed-date>2009-09-21T08:51:33-07:00</committed-date>
  <authored-date>2009-09-21T08:51:33-07:00</authored-date>
  <message>add nice regex to upgrading instructions for migration fixesc</message>
  <tree>5fad64741f13dc48fce6cd6270e6ff66648325ec</tree>
  <committer>
    <name>bborn</name>
    <email>bruno.bornsztein@gmail.com</email>
  </committer>
</commit>
