:::

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

計數器

今天: 637637637
昨天: 3068306830683068
總計: 8077142807714280771428077142807714280771428077142