laravel tag

128 questions


1 answers
384 views
0
DETERMINATION PROCESSING OF Larvel DB PROCESSING RESULT

US>Larvel ModelHow is BEST to determine if the database processing transaction went well?CertainModel::insert([ 'id' = > $request->id]);

2 years ago

1 answers
483 views
0
I want PHP to determine if a number is included in the value of a particular array.

I'm a beginner in PHP.One variable: TestPositionIf the number in the array of A is ASimilarly, if included in the array of B, BI would like to create a function that returns .I tested if I could use i...

2 years ago

1 answers
290 views
0
How to change the mark when there is no image (I want to change it to text)

For example, when there is no image, such as or replacement text when a user does not post an image.I'm thinking about using text this time because the image might be heavy.I'm in trouble because I c...

2 years ago

1 answers
364 views
0
I want to resolve 'SQLSTATE [23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails~

I would like to resolve the error below, but I am having a hard time getting it.I would like to save the gatya_id and users_id in the middle table, but the following error appears.I understand that th...

2 years ago

1 answers
431 views
0
Deployment jobs on CircleCI fail.

Continued with this questionThe composer.json was changed in the EC2 directory, so I changed the local composer.json and git push did not change.Can I commit by cutting off the branch at EC2?Thank you...

2 years ago

1 answers
325 views
0
Larvel+jquery I want to be able to get the id of the listed data on the console side of js.

The ultimate goal is to use Ajax to delete the listing button, which is asynchronous and can be removed from the UI.As a preliminary step, we would like to implement a function that can only be delete...

2 years ago

1 answers
409 views
0
Error in Ravel 7 migration General error: 3780

Ravel 7 I would like to migrate, but I get the following error:This error usually results in solutions from $table->bigInteger('user_id')->unsigned(); or $table->unsignedBigInteger().There we...

2 years ago

1 answers
441 views
0
Is it safe to publish below /var/www in production deployment?

I'm a beginner at Linux & Larvel.I'm concerned about security for production deployments./var/www The following is the public directory?projectName = laraproject.Default Public Directory Server Values...

2 years ago

1 answers
254 views
0
I want to check the SQL execution when updating with Ravel 5.8 fill→save

I'd like to check the SQL for performing an update in flll→save in Eloquent ORM.Unable to verify execution SQL.I can actually update it, and in case of find, I can check the execution SQL as expected....

2 years ago

2 answers
126 views
0
Ravel fails to migrate with SQLSTATE [23000] error when handling foreign key constraints.

users tablehttps://gyazo.com/831e6d98dfc12e266db09b3a0db6bd11leectures tablehttps://gyazo.com/c2626070a76bc14e555d89c7c3d7dfdfThere are two tables above, I want to associate the user_id column with th...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.