Mercurial > hg > soundsoftware-site
view .svn/pristine/fd/fd76a59a0d1f9bf708a40119765343dabf8db11a.svn-base @ 1539:22d57b0e0a77 live
OK, this script works now, but it should be using the API
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 21 May 2015 17:31:06 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line source
class AddMissingIndexesToQueries < ActiveRecord::Migration def self.up add_index :queries, :project_id add_index :queries, :user_id end def self.down remove_index :queries, :project_id remove_index :queries, :user_id end end