To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / db / migrate / 20121209123358_update_queries_to_sti.rb @ 1298:4f746d8966dd

History | View | Annotate | Download (169 Bytes)

1 1295:622f24f53b42 Chris
class UpdateQueriesToSti < ActiveRecord::Migration
2
  def up
3
    ::Query.update_all :type => 'IssueQuery'
4
  end
5
6
  def down
7
    ::Query.update_all :type => nil
8
  end
9
end