raviSoni
5 months ago
862
22
Laravel

how i can store data in customise table after google authentication

Posted 5 months ago by raviSoni

I have asked this question earlier also but didn't get any valid answer so could you help me my model is class SocialGoogleAccount extends Model {

protected $fillable = ['user_id', 'provider_user_id', 'provider'];

public function newuser()
{
    return $this->belongsTo(User::class);
}

}

now all data is stored in 'users' table but i have to store this data in 'new_users' table what should i do.

Please sign in or create an account to participate in this conversation.