Mercurial > hg > soundsoftware-site
view .svn/pristine/d4/d4dcf9a5e7b6ef2ec5289c5f08ea6b3b53a0b6cf.svn-base @ 929:5f33065ddc4b redmine-1.3
Update to Redmine SVN rev 9414 on 1.3-stable branch
author | Chris Cannam |
---|---|
date | Wed, 27 Jun 2012 14:54:18 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line source
class PopulateMemberRoles < ActiveRecord::Migration def self.up MemberRole.delete_all Member.find(:all).each do |member| MemberRole.create!(:member_id => member.id, :role_id => member.role_id) end end def self.down MemberRole.delete_all end end