generated from spatie/package-skeleton-php
-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d04bd77
commit dfbd227
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
namespace Database\Seeders; | ||
|
||
use JeroenZwart\CsvSeeder\CsvSeeder; | ||
use DB; | ||
|
||
class Icd10Seeder extends CsvSeeder | ||
{ | ||
/** | ||
* Run the database seeds. | ||
* | ||
* @return void | ||
*/ | ||
public function __construct(){ | ||
$this->file = base_path().'/database/seeders/csv/loinc_answer.csv'; | ||
$this->tablename = config('satusehatintegration.loinc_answer_table_name'); | ||
$this->delimiter = ';'; | ||
} | ||
|
||
public function run() | ||
{ | ||
// Recommended when importing larger CSVs | ||
DB::disableQueryLog(); | ||
|
||
parent::run(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
namespace Database\Seeders; | ||
|
||
use JeroenZwart\CsvSeeder\CsvSeeder; | ||
use DB; | ||
|
||
class Icd10Seeder extends CsvSeeder | ||
{ | ||
/** | ||
* Run the database seeds. | ||
* | ||
* @return void | ||
*/ | ||
public function __construct(){ | ||
$this->file = base_path().'/database/seeders/csv/loinc.csv'; | ||
$this->tablename = config('satusehatintegration.loinc_table_name'); | ||
$this->delimiter = ';'; | ||
} | ||
|
||
public function run() | ||
{ | ||
// Recommended when importing larger CSVs | ||
DB::disableQueryLog(); | ||
|
||
parent::run(); | ||
} | ||
} |
File renamed without changes.