class RenameGenericSite2Global < ActiveRecord::Migration
  def self.up
    Site.where(:name => 'generic').update_all(:name => 'global')
  end

  def self.down
    Site.where(:name => 'global').update_all(:name => 'generic')
  end
end

class RenameGenericSite2Global < ActiveRecord::Migration
  def self.up
    Site.where(name: 'generic').update_all(name: 'global')
  end

  def self.down
    Site.where(name: 'global').update_all(name: 'generic')
  end
end

Revert "Fix for generic renaming error"
Revert "Fix for generic renaming error"

This reverts commit f9f661547f986c50280797ab29a4e3d8aa213191.
