Procházet zdrojové kódy

fix: outlet seeder

Muhammad Iqbal Afandi před 4 roky
rodič
revize
29a00fa267
1 změnil soubory, kde provedl 1 přidání a 8 odebrání
  1. 1
    8
      database/seeders/OutletSeeder.php

+ 1
- 8
database/seeders/OutletSeeder.php Zobrazit soubor

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
 }