view .svn/pristine/0a/0afcb9f11cbb636f2ad064a5db4a409c777ec8da.svn-base @ 1561:6074fffd8a1d feature_1136

No, a bare repo is better
author Chris Cannam
date Thu, 14 Jan 2016 12:03:06 +0000
parents dffacf8a6908
children
line wrap: on
line source
class PopulateUsersType < ActiveRecord::Migration
  def self.up
    Principal.where("type IS NULL").update_all("type = 'User'")
  end

  def self.down
  end
end