Skip to content

[5.5] fix(13909): fixed update_at column is ambiguous-column by qualifying … - #26017

Closed
nickshatilo wants to merge 1 commit into
laravel:5.5from
nickshatilo:fix/13909-updated_at-not-fully-qualified-creates-ambiguous-column
Closed

[5.5] fix(13909): fixed update_at column is ambiguous-column by qualifying …#26017
nickshatilo wants to merge 1 commit into
laravel:5.5from
nickshatilo:fix/13909-updated_at-not-fully-qualified-creates-ambiguous-column

Conversation

@nickshatilo

Copy link
Copy Markdown
Contributor

Fixes the #13909 issue for the 5.5 version.

@taylorotwell

Copy link
Copy Markdown
Member

Tests break on PHP 7.2.

$values, $this->model->getUpdatedAtColumn(),
$this->model->freshTimestampString()
);
if (count($this->getQuery()->joins) > 0) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like this is the PHP 7.2 break in case joins is e.g. null?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mfn Yep. Fixed in another PR

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants