summaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20090503121505_populate_member_roles.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20090503121505_populate_member_roles.rb b/db/migrate/20090503121505_populate_member_roles.rb
index e5f246afa..75ba261d4 100644
--- a/db/migrate/20090503121505_populate_member_roles.rb
+++ b/db/migrate/20090503121505_populate_member_roles.rb
@@ -2,7 +2,7 @@ class PopulateMemberRoles < ActiveRecord::Migration[4.2]
def self.up
MemberRole.delete_all
Member.all.each do |member|
- MemberRole.create!(:member_id => member.id, :role_id => member.role_id)
+ MemberRole.insert!({:member_id => member.id, :role_id => member.role_id})
end
end