-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added seeders for ReferentieReferentieType; made image on referenties…
… nullable
- Loading branch information
Kamieljv
committed
Jul 11, 2024
1 parent
3752620
commit 393cad3
Showing
4 changed files
with
101 additions
and
11 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
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
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,56 @@ | ||
<?php | ||
|
||
namespace Database\Seeders; | ||
|
||
use Illuminate\Database\Seeder; | ||
|
||
class ReferentieReferentieTypeTableSeeder extends Seeder | ||
{ | ||
|
||
/** | ||
* Auto generated seed file | ||
* | ||
* @return void | ||
*/ | ||
public function run() | ||
{ | ||
|
||
|
||
\DB::table('referentie_referentie_type')->delete(); | ||
|
||
\DB::table('referentie_referentie_type')->insert(array ( | ||
0 => | ||
array ( | ||
'id' => 4, | ||
'referentie_id' => 5, | ||
'referentie_type_id' => 2, | ||
), | ||
1 => | ||
array ( | ||
'id' => 5, | ||
'referentie_id' => 4, | ||
'referentie_type_id' => 2, | ||
), | ||
2 => | ||
array ( | ||
'id' => 6, | ||
'referentie_id' => 3, | ||
'referentie_type_id' => 2, | ||
), | ||
3 => | ||
array ( | ||
'id' => 7, | ||
'referentie_id' => 1, | ||
'referentie_type_id' => 1, | ||
), | ||
4 => | ||
array ( | ||
'id' => 8, | ||
'referentie_id' => 2, | ||
'referentie_type_id' => 2, | ||
), | ||
)); | ||
|
||
|
||
} | ||
} |
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