Support the ongoing development of Laravel.io →
Requests Database Eloquent
Last updated 2 years ago.
0

Assuming "id" is your primary key, you probably wouldn't be able to alter that would you (database constraint interfering)? At least, it doesn't seem good practice to do so...

Last updated 9 years ago.
0

Everything is working with a raw PDO query:

UPDATE `m2_matches` SET `id` = '300' WHERE `id` = '301'

I don't like to use indexed fields.

The question is why Laravel is messing with the query...

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

romanov romanov Joined 8 Jan 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.