view .svn/pristine/ab/ab3e05035acf28c9a52d9ada93919ffa96256afa.svn-base @ 1384:b51b5ae3734c luisf

Merge
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 20 Sep 2013 19:04:25 +0100
parents cbb26bc654de
children
line wrap: on
line source
class PopulateUsersType < ActiveRecord::Migration
  def self.up
    Principal.update_all("type = 'User'", "type IS NULL")
  end

  def self.down
  end
end