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:
parent
f2a76732e5
commit
a13c3af88c
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user