mercredi 27 avril 2016

Laravel 5.1 Create New User

I have an existing application which has a table for users with passwords, I have updated the protected $table in the user model so the system knows which table to look at but for some reason when I try create a new user the system still tries to post the new user to the default Users table.

SQLSTATE[42S02]: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Invalid object name 'users'. (SQL: select count(*) as aggregate from [users] where [email] = test@test.com)



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire