<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -6,11 +6,11 @@ class MigrateToActsAsShareable &lt; ActiveRecord::Migration
     Share.destroy_all
     current_sharings = ActiveRecord::Base.connection.execute(&quot;select * from group_sharings&quot;)
     current_sharings.each do |r|
-      share = Share.create(:id =&gt; r[&quot;id&quot;], 
-                           :user_id =&gt; r[&quot;shared_by&quot;], :status =&gt; r[&quot;status&quot;],
-                           :shareable_type =&gt; r[&quot;shareable_type&quot;], :shareable_id =&gt; r[&quot;shareable_id&quot;],
-                           :shared_to_type =&gt; &quot;Group&quot;, :shared_to_id =&gt; r[&quot;group_id&quot;],
-                           :created_at =&gt; r[&quot;created_at&quot;], :updated_at =&gt; r[&quot;updated_at&quot;])
+      share = Share.create(:id =&gt; r[0], 
+                           :user_id =&gt; r[4], :status =&gt; r[5],
+                           :shareable_type =&gt; r[3], :shareable_id =&gt; r[2],
+                           :shared_to_type =&gt; &quot;Group&quot;, :shared_to_id =&gt; r[1],
+                           :created_at =&gt; r[6], :updated_at =&gt; r[7])
     end
 
     drop_table :group_sharings</diff>
      <filename>db/migrate/006_migrate_to_acts_as_shareable.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d6d6ca0aa8607d679aef7fd6526af847f00f9bb9</id>
    </parent>
  </parents>
  <author>
    <name>Alberto Molpeceres</name>
    <email>alberto.molpeceres@gmail.com</email>
  </author>
  <url>http://github.com/tog/tog_social/commit/0f01e455df7957a7451eb035536ede62e6f7b969</url>
  <id>0f01e455df7957a7451eb035536ede62e6f7b969</id>
  <committed-date>2009-08-31T08:52:40-07:00</committed-date>
  <authored-date>2009-08-31T08:52:40-07:00</authored-date>
  <message>fixed upgrade migration for RDBMS systems different that sqlite, at least for mysql works</message>
  <tree>828d5b0e12724765a92f31c8c5e066cf8ca224d9</tree>
  <committer>
    <name>Alberto Molpeceres</name>
    <email>alberto.molpeceres@gmail.com</email>
  </committer>
</commit>
