lundi 30 mai 2016

Is there a initalSetup() function or something likje that in laravel?

I have developed an app in Laravel (and i used this plugin to add roles/permissions http://ift.tt/1dURk13)

I need to create some basic data for my app in Laravel only the first time the app is used (a few roles and permissions), this data shouldnt be created every time.

I couldnt find a function or event which i could use. Im trying to avoid doing:

if(role is not created)
    create it
else
    do nothing



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1TSNQpy
via IFTTT

Aucun commentaire:

Enregistrer un commentaire