Mercurial > hg > soundsoftware-site
view db/migrate/20091017214015_add_missing_indexes_to_members.rb @ 1550:7d825cbd76c8 feature_1136
Ensure we don't leave a git repo lying around for a repo with no corresponding (even if empty) authormap
author | Chris Cannam |
---|---|
date | Tue, 12 Jan 2016 17:22:27 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
class AddMissingIndexesToMembers < ActiveRecord::Migration def self.up add_index :members, :user_id add_index :members, :project_id end def self.down remove_index :members, :user_id remove_index :members, :project_id end end