Open SleepingProgrammer opened 4 years ago
Hi, I want to add divisions and cities via code.
We just need to add this code to the model for example adding it just below the protected $table = 'world_divisions'; code
protected $table = 'world_divisions';
protected $guarded = [];
Thanks!
@SleepingProgrammer The better way is submit your data.
Hi, I want to add divisions and cities via code.
We just need to add this code to the model for example adding it just below the
protected $table = 'world_divisions';
codeprotected $guarded = [];
Thanks!