Fix migration
This commit is contained in:
parent
51f458b63b
commit
4e7cc56ed1
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class AddSubdomainToLookups extends Migration
|
|||
});
|
||||
|
||||
$accountPublicIds = [];
|
||||
foreach (Subscription::all() as $subscription) {
|
||||
foreach (Subscription::withTrashed()->orderBy('id')->get() as $subscription) {
|
||||
$accountId = $subscription->account_id;
|
||||
if (isset($accountPublicIds[$accountId])) {
|
||||
$publicId = $accountPublicIds[$accountId];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue