mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix table name in migration
This commit is contained in:
parent
0fd39e5be0
commit
b8ad27963e
@ -46,11 +46,11 @@ class EnterprisePlan extends Migration
|
||||
|
||||
$single_account_ids = \DB::table('users')
|
||||
->leftJoin('user_accounts', function ($join) {
|
||||
$join->on('user_Accounts.user_id1', '=', 'users.id');
|
||||
$join->orOn('user_Accounts.user_id2', '=', 'users.id');
|
||||
$join->orOn('user_Accounts.user_id3', '=', 'users.id');
|
||||
$join->orOn('user_Accounts.user_id4', '=', 'users.id');
|
||||
$join->orOn('user_Accounts.user_id5', '=', 'users.id');
|
||||
$join->on('user_accounts.user_id1', '=', 'users.id');
|
||||
$join->orOn('user_accounts.user_id2', '=', 'users.id');
|
||||
$join->orOn('user_accounts.user_id3', '=', 'users.id');
|
||||
$join->orOn('user_accounts.user_id4', '=', 'users.id');
|
||||
$join->orOn('user_accounts.user_id5', '=', 'users.id');
|
||||
})
|
||||
->whereNull('user_accounts.id')
|
||||
->where(function ($query) {
|
||||
|
Loading…
Reference in New Issue
Block a user