1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00
redmine/db/migrate/20121209123358_update_queries_to_sti.rb

10 lines
174 B
Ruby

class UpdateQueriesToSti < ActiveRecord::Migration[4.2]
def up
::Query.update_all :type => 'IssueQuery'
end
def down
::Query.update_all :type => nil
end
end