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

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