Add TagsTableSeeder seeder (duh)
MODIFY
database/seeds/DatabaseSeeder.php
database/seeds/DatabaseSeeder.php
@@ -6,5 +6,6 @@ class DatabaseSeeder extends Seeder {
public function run() {
$this->call(CurrenciesTableSeeder::class);
$this->call(UsersTableSeeder::class);
+ $this->call(TagsTableSeeder::class);
}
}

ADD
database/seeds/TagsTableSeeder.php
+<?php
+
+use Illuminate\Database\Seeder;
+
+use App\Tag;
+
+class TagsTableSeeder extends Seeder {
+ public function run() {
+ Tag::insert([
+ [
+ 'name' => 'Groceries'
+ ],
+ [
+ 'name' => 'Bills'
+ ],
+ [
+ 'name' => 'Gas & Fuel'
+ ]
+ ]);
+ }
+}

Add TagsTableSeeder seeder (duh)