laravel-world
laravel-world copied to clipboard
Adding new division and city via code
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 $guarded = [];
Thanks!
@SleepingProgrammer The better way is submit your data.