When I submit the registration form then the result show below:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'laravel_learn.users' doesn't exist (SQL: select count(*) as aggregate from
users
where
But my user table name is s_user
, users is not my table name.
My app/user.php file:
class User extends Model {
protected $table = 's_user';
protected $primaryKey = 'user_id';
}
How can i register user?