annotate .svn/pristine/dd/dd0aa83c766a2c2e132d5e6eda1f9a1afdce4ca7.svn-base @ 1539:22d57b0e0a77 live

OK, this script works now, but it should be using the API
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 21 May 2015 17:31:06 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 class AddIndexToSettingsName < ActiveRecord::Migration
Chris@909 2 def self.up
Chris@909 3 add_index :settings, :name
Chris@909 4 end
Chris@909 5
Chris@909 6 def self.down
Chris@909 7 remove_index :settings, :name
Chris@909 8 end
Chris@909 9 end