Project

General

Profile

Defect #36766 » 36766.patch

Go MAEDA, 2022-03-16 15:21

View differences:

db/migrate/20090503121505_populate_member_roles.rb
2 2
  def self.up
3 3
    MemberRole.delete_all
4 4
    Member.all.each do |member|
5
      MemberRole.create!(:member_id => member.id, :role_id => member.role_id)
5
      MemberRole.insert!({:member_id => member.id, :role_id => member.role_id})
6 6
    end
7 7
  end
8 8

  
(2-2/2)