This commit is contained in:
albert
2013-03-08 15:56:24 -05:00
parent c3ac9832f9
commit 1a03f49adc
6 changed files with 37 additions and 12 deletions

View File

@@ -0,0 +1,9 @@
class AddLowerNameIndexToPools < ActiveRecord::Migration
def self.up
execute "create index index_pools_on_lower_name on pools (lower(name))"
end
def self.down
execute "drop index index_pools_on_lower_name"
end
end