Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2] Consider implicit attributes while guessing column names in exists & unique #12961

Merged
merged 1 commit into from
Apr 1, 2016
Merged

Conversation

themsaid
Copy link
Member

@themsaid themsaid commented Apr 1, 2016

As mentioned here #12947.

This PR handles implicit attributes to guess the column name for the unique and exists validation rules, the result will be like:

  • users.1.email => email
  • 1.username => username
  • emails.1 => emails.1 (unable to guess the name)
  • email => email (as usual)

Verified

This commit was signed with the committer’s verified signature.
Eomm Manuel Spigolon
@taylorotwell taylorotwell merged commit e031145 into laravel:5.2 Apr 1, 2016
@themsaid themsaid deleted the get-db-key branch April 1, 2016 20:54
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.

None yet

2 participants