You guys are useless.
jk, thanks for even looking at my question and here's the solution if anyone needs it.
The correct method to override is getUpdatedAtColumn() like this:
public function getUpdatedAtColumn() {
return null;
}
As the base Illuminate\Database\Eloquent\Model::getUpdatedAtColumn returns the value of UPDATED_AT, I would override the constant and set it to null.
const UPDATED_AT = null;
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community