Mercurial > hg > soundsoftware-site
annotate .svn/pristine/b0/b08aac171d15f959d8951dfb278365e57e4cb2e0.svn-base @ 1628:9c5f8e24dadc live tip
Quieten this cron script
author | Chris Cannam |
---|---|
date | Tue, 25 Aug 2020 11:38:49 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 class AddMissingIndexesToMembers < ActiveRecord::Migration |
Chris@909 | 2 def self.up |
Chris@909 | 3 add_index :members, :user_id |
Chris@909 | 4 add_index :members, :project_id |
Chris@909 | 5 end |
Chris@909 | 6 |
Chris@909 | 7 def self.down |
Chris@909 | 8 remove_index :members, :user_id |
Chris@909 | 9 remove_index :members, :project_id |
Chris@909 | 10 end |
Chris@909 | 11 end |