annotate .svn/pristine/db/dbb1cd10e4a0f1e628733be53e77306d7e9d3f4a.svn-base @ 1154:651d2699348e redmine-2.2-integration

Fix remote syntax for Rails 3 (doesn't work though); html safe in label
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 15 Jan 2013 15:45:22 +0000
parents cbb26bc654de
children
rev   line source
Chris@909 1 class AddIndexOnChangesetsScmid < ActiveRecord::Migration
Chris@909 2 def self.up
Chris@909 3 add_index :changesets, [:repository_id, :scmid], :name => :changesets_repos_scmid
Chris@909 4 end
Chris@909 5
Chris@909 6 def self.down
Chris@909 7 remove_index :changesets, :name => :changesets_repos_scmid
Chris@909 8 end
Chris@909 9 end