# File lib/puppet/rails/database/002_remove_duplicated_index_on_all_tables.rb, line 8
 8:   def self.down
 9:     ActiveRecord::Base.connection.tables.each do |t|
10:       add_index t.to_s, :id, :integer => true unless ActiveRecord::Base.connection.indexes(t).collect {|c| c.columns}.include?("id")
11:     end
12:   end