Mercurial > hg > soundsoftware-site
view .svn/pristine/95/95b8abf44c3c03e38cc65d6bbe29d78a6f95443c.svn-base @ 1624:76f8f0814e1e live
Use --check to avoid errors when updating in repos with more than one head
author | Chris Cannam |
---|---|
date | Fri, 10 Aug 2018 16:08:05 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line source
class AddMissingIndexesToNews < ActiveRecord::Migration def self.up add_index :news, :author_id end def self.down remove_index :news, :author_id end end