mixu / useradmin

User administration and auth for Kohana 3
http://blog.mixu.net/2011/01/13/getting-started-with-useradmin-my-kohana-3-auth-admin-module/
105 stars 31 forks source link

The sql file provided sets the identities table as non-pluralized identity without setting table_name #22

Open funkjunky opened 12 years ago

funkjunky commented 12 years ago

There are many identities to a user in the schema presented in the SQL file, so Kohana pluralizes the model name when attempting to access the identities for a user.

The fix I used was simply to change the schema so the table name was "user_identities" instead of "user_identity".