comparison .svn/pristine/e6/e6bda0fade07e3c97fb5d8fdb6396feed05e26ae.svn-base @ 909:cbb26bc654de redmine-1.3

Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author Chris Cannam
date Fri, 24 Feb 2012 19:09:32 +0000
parents
children
comparison
equal deleted inserted replaced
908:c6c2cbd0afee 909:cbb26bc654de
1 class AddWatchersUserIdTypeIndex < ActiveRecord::Migration
2 def self.up
3 add_index :watchers, [:user_id, :watchable_type], :name => :watchers_user_id_type
4 end
5
6 def self.down
7 remove_index :watchers, :name => :watchers_user_id_type
8 end
9 end