We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 1 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | use Illuminate\Support\Facades\DB; |
||
| 7 | |||
| 8 | class ArticlesTableSeeder extends Seeder |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Run the database seeds. |
||
| 12 | * |
||
| 13 | * @return void |
||
| 14 | */ |
||
| 15 | public function run() |
||
| 16 | { |
||
| 17 | DB::table('articles')->insert([[ |
||
| 18 | 'id' => 1, |
||
| 19 | 'user_id' => 1, |
||
| 20 | 'content' => 'Some Content', |
||
| 21 | 'metas' => '{"meta_title":"Meta Title Value","meta_description":"Meta Description Value"}', |
||
| 22 | 'tags' => '{"tags":["tag1","tag2","tag3"]}', |
||
| 23 | 'extras' => '{"extra_details":["detail1","detail2","detail3"]}', |
||
| 24 | 'cast_metas' => '{"cast_meta_title":"Meta Title Value","cast_meta_description":"Meta Description Value"}', |
||
| 25 | 'cast_tags' => '{"cast_tags":["tag1","tag2","tag3"]}', |
||
| 30 |