Skip to content

Commit

Permalink
memory_limit_issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihtoprak committed Jan 17, 2022
1 parent 8f09156 commit 149ec3e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Counties, States, Cities list by OptimistHub
### Counties, States, Cities list by OptimistHub for Laravel Projects or Any Agnostic PHP Projects

#### Installation
```
Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
"authors": [
{
"name": "Hemn MovafeghiNalous",
"email": "hemn791@gmail.com",
"email": "hemn@optimisthub.com",
"role": "Developer"
},
{
"name": "Fatih Toprak",
"email": "fatih@optimisthub.com",
"role": "Developer"
}
],
Expand Down
1 change: 1 addition & 0 deletions src/Seeders/LCSCSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class LCSCSeeder extends Seeder
{
public function run()
{
ini_set('memory_limit', '-1');
$countries = json_decode(file_get_contents(__DIR__ . "/../countries+states+cities.json"));
foreach ($countries as $countryData) {
$country = Country::query()->updateOrCreate(
Expand Down

0 comments on commit 149ec3e

Please sign in to comment.