I have a table in which a foreign key means an expression of many to one relationship, but when I save the data in it its value is always zero, knowing that I use mysql, what is the reason for this problem?

|
2021-01-05 15:25:28
Yes
Iva12_rastogi 2021-01-05 15:26:55
Can you help me with foreign key too
Iva12_rastogi 2021-01-05 15:27:38
laravel_discuss-65461.jpg

Bhavyakumar Panchotiya 2021-01-05 15:28:16
$table->foreignId(‘user_id’)->constrained();
Iva12_rastogi 2021-01-05 15:28:35
laravel_discuss-65463.jpg

Iva12_rastogi 2021-01-05 15:31:20
But i can specify table reference name to constrained
Harsh Mehta 2021-01-05 16:38:20
Any Laravel developers looking for Job At Vadodara Location,Gujarat with minimum 1 year of experience,drop a mail at harsh@purchasekaro.com
Iva12_rastogi 2021-01-05 16:45:53
Iva12_rastogi 2021-01-05 15:27:38

Please help me with this

Iva12_rastogi 2021-01-05 16:46:08
I m struggling with this for 1 hr
dpkgt 2021-01-05 16:46:57
Iva12_rastogi 2021-01-05 15:31:20
But i can specify table reference name to constrained

check table name if its status or statuses

Iva12_rastogi 2021-01-05 16:47:16
Its status
Iva12_rastogi 2021-01-05 16:48:26
I removed reference from constraint then also same error
❤️ ᴍɪɢʜᴛⓨ 🌹 2021-01-05 16:51:48
Iva12_rastogi 2021-01-05 16:46:08
I m struggling with this for 1 hr

Update your project

Iva12_rastogi 2021-01-05 16:52:41
I m in laravel 8
❤️ ᴍɪɢʜᴛⓨ 🌹 2021-01-05 17:03:59
Iva12_rastogi 2021-01-05 16:52:41
I m in laravel 8

Which scaffolding use in laravel 8

…. 2021-01-05 17:04:50
laravel_discuss-65474.jpg
I have a table in which a foreign key means an expression of many to one relationship, but when I save the data in it its value is always zero, knowing that I use mysql, what is the reason for this problem?
…. 2021-01-05 17:05:24
laravel_discuss-65475.jpg

…. 2021-01-05 17:05:35
laravel_discuss-65476.jpg

…. 2021-01-05 17:05:47
laravel_discuss-65477.jpg

…. 2021-01-05 17:05:59
laravel_discuss-65478.jpg

…. 2021-01-05 17:06:35
This code if php and tables in database
ktmsulaim 2021-01-05 17:29:07
Mohammed Alk 2021-01-04 15:53:35
hmm alternative for making api ?

Try Inertia js. Really an easiest way of developing SPA with vue or react!

2021-01-05 17:30:24
Anyone help me how to make a multiple roles in laravel 8
ktmsulaim 2021-01-05 17:38:55
2021-01-05 17:30:24
Anyone help me how to make a multiple roles in laravel 8

Use spatie/permission

2021-01-05 17:39:27
I will try
2021-01-05 17:39:52
Thanks ktmsultaim sir
Mohammed Alk 2021-01-05 17:51:56
ktmsulaim 2021-01-05 17:29:07
Try Inertia js. Really an easiest way of developing SPA with vue or react!

Ok ❤️ i will try it

DesolatorMagno 2021-01-05 18:02:10
hypernxf 2021-01-05 10:28:47
It’s not really recommended as data dont have to be persisted when running test. Plus it will always refresh the database

I don’t know why is not recommend to have a ambient the more similar possible to dev for testing.

Not everything work the same between MySQL and sqlite so at the end the test could be useless.

Bhavyakumar Panchotiya 2021-01-05 18:03:53
can anyone help me to find out job for core PHP As a fresher.
Bhavyakumar Panchotiya 2021-01-05 18:06:57
work from home !!
DesolatorMagno 2021-01-05 18:09:47
Build your curriculum, send it to many places, don’t be discouraged if you are not choose 100 times in a row, keep going.
DesolatorMagno 2021-01-05 18:14:36
Read about interviews, try to be prepared, knowing how to program is only a part of the job.
theman_behind 2021-01-05 18:14:43
DesolatorMagno 2021-01-05 18:09:47
Build your curriculum, send it to many places, don’t be discouraged if you are not choose 100 times in a row, keep going.

That’s motivational👍

DesolatorMagno 2021-01-05 18:19:08
Well if you can get feedback often and find out what are you lacking so you can prepare better the next time, it can be see as positive and practice, only if you go “well it was bad luck, let’s try the same again” every time, I would call it a fail.
texas_a 2021-01-05 18:25:16
hi i studied electronics engineering but intrested in software developing but some task so difficult and i want get job how succes this i choose laravel developer
|