Browse Source

fix: outlet seeder

Muhammad Iqbal Afandi 3 years ago
parent
commit
29a00fa267
1 changed files with 1 additions and 8 deletions
  1. 1
    8
      database/seeders/OutletSeeder.php

+ 1
- 8
database/seeders/OutletSeeder.php View File

15
     public function run()
15
     public function run()
16
     {
16
     {
17
         Outlet::create([
17
         Outlet::create([
18
-            'outlet_number' => 'OT' . now()->format('YmdHms'),
18
+            'outlet_number' => 'OT' . now()->format('YmdHis'),
19
             'name' => 'Semua Outlet',
19
             'name' => 'Semua Outlet',
20
             'address' => '',
20
             'address' => '',
21
             'phone' => '',
21
             'phone' => '',
22
         ]);
22
         ]);
23
-
24
-        Outlet::create([
25
-            'outlet_number' => 'OT' . now()->format('YmdHms'),
26
-            'name' => 'Outlet 1',
27
-            'address' => '',
28
-            'phone' => '',
29
-        ]);
30
     }
23
     }
31
 }
24
 }