summaryrefslogtreecommitdiffstats
path: root/db/migrate/20121209123358_update_queries_to_sti.rb
blob: d8dea407095a4c06f6de39d733a660cf6a1ebe2d (plain)
1
2
3
4
5
6
7
8
9
class UpdateQueriesToSti < ActiveRecord::Migration
  def up
    ::Query.update_all :type => 'IssueQuery'
  end

  def down
    ::Query.update_all :type => nil
  end
end