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

Issue with _primary_key #10

Closed
huzzi opened this issue Apr 17, 2011 · 0 comments
Closed

Issue with _primary_key #10

huzzi opened this issue Apr 17, 2011 · 0 comments
Assignees
Labels
Milestone

Comments

@huzzi
Copy link

huzzi commented Apr 17, 2011

I think there is an issue with primary key when it's called something else other than "id"

protected static $_primary_key = array('user_id');

Fuel\Core\Database_Exception [ 1054 ]: Unknown column 't0.id' in 'field list' [ SELECT COUNT(t0.id) AS count_result FROM users AS t0 WHERE t0.username = 'wwwe' ]

http://fuelphp.com/forums/topics/view/1041

@ghost ghost assigned jschreuder Apr 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants