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