<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -45,8 +45,18 @@ namespace :relaxdb do
     create_sample_data
   end
   
+  desc &quot;Create minimal CouchDB environment from scratch&quot;
+  task :mindb =&gt; [&quot;relaxdb:db&quot;, &quot;relaxdb:views&quot;] do
+    Dir['couchdb/data/min/**/*.rb'].each { |f| require f }
+  end
+  
   desc &quot;Create base CouchDB environment from scratch (no sample data)&quot;
   task :basedb =&gt; [&quot;relaxdb:db&quot;, &quot;relaxdb:views&quot;, &quot;relaxdb:data&quot;]  
+  
+  desc &quot;Apply all outstanding migrations&quot;
+  task :migrate =&gt; [:check_env, :merb_env] do
+    RelaxDB::Migration.run_all Dir[&quot;couchdb/migrations/**/*.rb&quot;]
+  end
 
   task :check_env do
     unless ENV['MERB_ENV']</diff>
      <filename>lib/merb_relaxdb/merbtasks.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e568617701da940af543fa4d33b9d44a05b7d7ad</id>
    </parent>
  </parents>
  <author>
    <name>Paul Carey</name>
    <email>paul.p.carey@gmail.com</email>
  </author>
  <url>http://github.com/paulcarey/merb_relaxdb/commit/76aaf3be7c0de2ddf8add735ad922da8bbeb681f</url>
  <id>76aaf3be7c0de2ddf8add735ad922da8bbeb681f</id>
  <committed-date>2009-05-27T07:06:46-07:00</committed-date>
  <authored-date>2009-05-27T07:06:46-07:00</authored-date>
  <message>Hook into RelaxDB migrations.</message>
  <tree>1c34639370d75f07f25a384a0b1b3c61f7d66303</tree>
  <committer>
    <name>Paul Carey</name>
    <email>paul.p.carey@gmail.com</email>
  </committer>
</commit>
