<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>generators/acts_as_xapian/USAGE</filename>
    </added>
    <added>
      <filename>generators/acts_as_xapian/acts_as_xapian_generator.rb</filename>
    </added>
    <added>
      <filename>generators/acts_as_xapian/templates/migration.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -124,21 +124,10 @@ database
 * :if, either an attribute or a function which if returns false means the
 object isn't indexed
 
-2. Make and run this database migration to create the ActsAsXapianJob model.
-
-    class ActsAsXapianMigration &lt; ActiveRecord::Migration
-        def self.up
-           create_table :acts_as_xapian_jobs do |t|
-                t.column :model, :string, :null =&gt; false
-                t.column :model_id, :integer, :null =&gt; false
-                t.column :action, :string, :null =&gt; false
-            end
-            add_index :acts_as_xapian_jobs, [:model, :model_id], :unique =&gt; true
-        end
-        def self.down
-            drop_table :acts_as_xapian_jobs
-        end
-    end
+2. Generate a database migration to create the ActsAsXapianJob model:
+
+    script/generate acts_as_xapian
+    rake db:migrate
 
 3. Call 'rake xapian:rebuild_index models=&quot;ModelName1 ModelName2&quot;' to build the index
 the first time (you must specify all your indexed models). It's put in a</diff>
      <filename>README.txt</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1ac2a13f3218c6c872686976b0ec851159782ec2</id>
    </parent>
  </parents>
  <author>
    <name>Mike Boone</name>
    <email>mike@boonedocks.net</email>
  </author>
  <url>http://github.com/frabcus/acts_as_xapian/commit/6ac85e6c604d29674708e04e88c0b629233e421a</url>
  <id>6ac85e6c604d29674708e04e88c0b629233e421a</id>
  <committed-date>2008-05-15T20:31:00-07:00</committed-date>
  <authored-date>2008-05-15T20:31:00-07:00</authored-date>
  <message>Created generator for the acts_as_xapian database migration

Created a generator for the acts_as_xapian database migration
that can be run with script/generate acts_as_xapian.

Updated the README.txt file to remove the published migration
and show the generate command instead.</message>
  <tree>37b7d55d56979b504a5286b9793bd6383bbfd959</tree>
  <committer>
    <name>Mike Boone</name>
    <email>mike@boonedocks.net</email>
  </committer>
</commit>
