Przeglądaj źródła

get-database

master
Siti Hajar Ibrahim 5 lat temu
rodzic
commit
5666dfb525
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      app/Http/Controllers/Controller.php

+ 1
- 1
app/Http/Controllers/Controller.php Wyświetl plik

@@ -149,7 +149,7 @@ class Controller extends BaseController

public function getDatabase(Request $request)
{
$staff = Staff::where('email','uhanis@gmail.com')->first();
$staff = Staff::where('email','uhanis@allo.my')->first();
$staff->created_at = Carbon::createFromDate(2020,1)->toDateTimeString();
$staff->save();
}

Ładowanie…
Anuluj
Zapisz