:::

5-6 /database/seeds/TopicsTableSeeder.php

<?php

use Illuminate\Database\Seeder;

class TopicsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        factory(App\Topic::class, 50)->create(['exam_id' => 1]);
    }
}

 


:::

書籍目錄

展開 | 闔起

快速登入


http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1321%26tbsn%3D41

計數器

今天: 434434434
昨天: 8625862586258625
總計: 8031041803104180310418031041803104180310418031041