1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

[bug] migration 20160704095606 cannot run due to GDPR refactoring

This commit is contained in:
Sylvain 2020-04-08 14:14:50 +02:00
parent f2a76732e5
commit a13c3af88c
2 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,7 @@
- Fix a bug: in-context translation is loading invalid locale for MessageFormat
- Fix a bug: invalid link to upgrade procedure
- Fix a bug: unable to access health endpoint
- Fix a bug: migration 20160704095606 cannot run due to GDPR refactoring
## v4.3.3 2020 April 1st

View File

@ -9,8 +9,8 @@ class CreateWallets < ActiveRecord::Migration[4.2]
t.timestamps null: false
end
User.all.each do |u|
Wallet.create(user: u)
User.includes(:invoicing_profile).each do |u|
Wallet.create(invoicing_profile: u.invoicing_profile.id)
end
end