Do you know if there are any way to know if there are a foreign key defined when you are migrating tables?

|
poppyhusk 2021-08-16 21:29:51
you can have two public clients for both services.
M 2021-08-16 21:30:46
how
eken_franky 2021-08-16 22:34:52
Good evening, I managed to make real-time notifications and everything worked well, so I stopped the project, but now I’m relaunching the project, and I’m doing a try, but my unread notification counter shows me NaN
cayetanohosma 2021-08-16 23:34:01
Do you know if there are any way to know if there are a foreign key defined when you are migrating tables?
cayetanohosma 2021-08-16 23:34:34
I need to detect if a FK is defined and do some actions
NanoCellMusic 2021-08-17 00:16:07
eken_franky 2021-08-16 22:34:52
Good evening, I managed to make real-time notifications and everything worked well, so I stopped the project, but now I’m relaunching the project, and I’m doing a try, but my unread notification counter shows me NaN

yyou are probably storing the value in a string not a int

NanoCellMusic 2021-08-17 00:16:17
NaN stands for not a number
nkkverma 2021-08-17 04:22:50
The best web hosting with daily backup facility and full support facility.

Just start rs49₹ per month
For 1 website
With 10GB NVMe SSD Storage
With 3 mail account
With 3 database
With 3 sub domain
With free cPanal

Guys you want to buy hosting with this facility then visit our site and buy hosting otherwise dm me.
Visit site :- click here

Note :- we also provide domain also with less of market price.

More plan you want then visit site and get your favorite plan in cheap price.
Thanks

AsadbekXalimjonov 2021-08-17 07:16:45
guys please help solve this problem https://laracasts.com/discuss/channels/laravel/i-should-calculate-total-materials-of-product-which-take-materials-in-warehouse-materials
Dushyantsinghds 2021-08-17 09:33:44
https://youtu.be/t1K7eRjYPp8
Boopathi K 2021-08-17 11:24:52
Hi Team
I looking for thirtparty url based automated data-scraping ,can you please suggest any good tool for these.
bahodirov39 2021-08-17 12:01:32
Yea
Rao Aadil 2021-08-17 12:35:10
laravel_discuss-91864.jpg
this is my controller
Rao Aadil 2021-08-17 12:35:34
laravel_discuss-91865.jpg
THis is the route
Rao Aadil 2021-08-17 12:36:01
laravel_discuss-91866.jpg
this is the blade
Rao Aadil 2021-08-17 12:36:38
laravel_discuss-91867.jpg
This is the error. Can anyone help please
AsadbekXalimjonov 2021-08-17 12:38:18
Rao Aadil 2021-08-17 12:36:38
This is the error. Can anyone help please

in your blade file undefined variable $data , did you define this variable in your controller

Rao Aadil 2021-08-17 12:38:51
I sent the controller as well please check i think i defined please check if its right
MutalievUtkirbek 2021-08-17 12:40:42
Rao Aadil 2021-08-17 12:35:34
THis is the route

There’s no slash before the route

Rao Aadil 2021-08-17 12:42:03
route is working fine anyway i tried that as well but the same error
Rao Aadil 2021-08-17 12:42:23
If I hardcode the in view it works fine
Rao Aadil 2021-08-17 12:42:34
how do I pass the data please help
thekiharani 2021-08-17 13:08:02
Which is an alternative laravel activity log for spatie package?
S 2021-08-17 13:21:22
Home page in that project image is thumbnail image onclick project image is projectimage in laravel
S 2021-08-17 13:21:34
Laravel 8 API
Rao Aadil 2021-08-17 13:22:03
laravel_discuss-91878.jpg
i am not getting response how do i check if the email is success?
ilyas_yildiz 2021-08-17 15:32:42
Hello. I just started learning Laravel. I have a simple question. Terminal commands work fine when working in local, but where and how do I type these commands when working in hosting? The command I have to type is: php artisan storage:link
haqehs 2021-08-17 15:59:04
in hosting terminal is not available. Debug your code locally and upload to hosting.
Rahul Kothari 2021-08-17 15:59:55
Anyone help me in datatable
Rahul Kothari 2021-08-17 16:00:06
Yajra datatable
Rahul Kothari 2021-08-17 16:00:28
laravel_discuss-91885.jpg

Rahul Kothari 2021-08-17 16:00:44
I use this query and it will return me null array
Rahul Kothari 2021-08-17 16:01:09
But when I execute this query on xampp then it will return me the correct value
Rahul Kothari 2021-08-17 16:02:14
anyone have knowledge of yajra datatable
kingsclan77 2021-08-17 16:15:09
Can anyone help me with this:

I want to get count of total number of users who are having role as vendor via eloquent

I have 3 tables : users, roles, and role_users(pivot table)

Any help is much appreciated..

|