Sha256: 514017b3a76515d119608113f119384041155bbd8ee09f1f757f3e08b1a482ab

Contents?: true

Size: 167 Bytes

Versions: 34

Compression:

Stored size: 167 Bytes

Contents

class AddIndexToSettingsName < ActiveRecord::Migration
  def self.up
    add_index :settings, :name
  end

  def self.down
    remove_index :settings, :name
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.23 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.22 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.21 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.20 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.19 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.18 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.17 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.16 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.15 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.14 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.13 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.12 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.10 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb
redmine_extensions-0.0.8 spec/redmine/db/migrate/20091220183727_add_index_to_settings_name.rb