Controller fix
This commit is contained in:
@@ -66,6 +66,10 @@ class ContactController extends Controller
|
|||||||
Artisan::call('migrate', ['--force' => true]);
|
Artisan::call('migrate', ['--force' => true]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! \Illuminate\Support\Facades\Schema::hasTable('communications')) {
|
||||||
|
\Illuminate\Support\Facades\Artisan::call('migrate', ['--force' => true]);
|
||||||
|
}
|
||||||
|
|
||||||
$communication = Communication::create([
|
$communication = Communication::create([
|
||||||
'user_id' => Auth::id(),
|
'user_id' => Auth::id(),
|
||||||
'order_id' => $orderId,
|
'order_id' => $orderId,
|
||||||
|
|||||||
Reference in New Issue
Block a user