/** * Seed the tags table */ public function run() { Tag::truncate(); factory(Tag::class, 5)->create(); }
/** * Run the database seeds. * * @return void */ public function run() { \App\Models\Tag::truncate(); factory(\App\Models\Tag::class, 10)->create(); }