Mercurial > hg > soundsoftware-site
view db/migrate/20091017213835_add_missing_indexes_to_user_preferences.rb @ 1247:1aee31f54e13 redmine-2.2-integration
Removed tag-realted hacky code from projects controller.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 03 Apr 2013 15:28:05 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
class AddMissingIndexesToUserPreferences < ActiveRecord::Migration def self.up add_index :user_preferences, :user_id end def self.down remove_index :user_preferences, :user_id end end