From 04fc009874db2d539ad881b649f7ebb512f05312 Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Thu, 8 Aug 2024 22:22:38 +0100 Subject: Init rails app --- database/seeders/BookmarkCategoriesTableSeeder.php | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 database/seeders/BookmarkCategoriesTableSeeder.php (limited to 'database/seeders/BookmarkCategoriesTableSeeder.php') diff --git a/database/seeders/BookmarkCategoriesTableSeeder.php b/database/seeders/BookmarkCategoriesTableSeeder.php deleted file mode 100644 index 5c8ea2f..0000000 --- a/database/seeders/BookmarkCategoriesTableSeeder.php +++ /dev/null @@ -1,30 +0,0 @@ -count(5)->create()->each(function ($category) { -// $category->sites()->saveMany(BookmarkSite::factory()->count(3)->make()); -// }); - $category = new BookmarkCategory([ - 'name' => 'cool people', - ]); - $category->save(); - $site = new BookmarkSite([ - 'name' => 'campos', - 'description' => 'Cool brazilian dude, does programming and stuff', - 'url' => 'https://campos02.me/', - 'category' => 1, - ]); - $site->save(); - } -} -- cgit v1.2.3-54-g00ecf