Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new division and city via code #30

Open
SleepingProgrammer opened this issue Jul 1, 2020 · 1 comment
Open

Adding new division and city via code #30

SleepingProgrammer opened this issue Jul 1, 2020 · 1 comment

Comments

@SleepingProgrammer
Copy link

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!

@khsing
Copy link
Owner

khsing commented Mar 7, 2021

@SleepingProgrammer The better way is submit your data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants