lundi 9 avril 2018

Laravel 5.1 Sync user to other users

I build a Laravel app. In table users I have 2 kinds of users - one user is restaurants and another user is restaurant stuff.

What I exactly need?

I want to sync user (res stuff) to user (restaurant). Is that possible or I need to move the restaurant to the other table and then sync?

I'm looking just for the idea and is that possible?

What is the difference between the user in the same table is admin field - res users have value '999' at admin column and res stuff has value '1' at admin column.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire