diff options
author | Frankie B <git@diskfloppy.me> | 2023-07-19 01:58:32 +0100 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2023-07-19 01:58:32 +0100 |
commit | ac1c84ea5503e6a59ec35cac53af704c2dbaa597 (patch) | |
tree | 7303aa0575cfd694430a7505cee976a8ce78d6f3 /resources/views/pages/admin/guestbook.blade.php | |
parent | fe06cd915cb386df5af5465b7e81aac6c97cbe17 (diff) |
Update table names to new format
Diffstat (limited to 'resources/views/pages/admin/guestbook.blade.php')
-rw-r--r-- | resources/views/pages/admin/guestbook.blade.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/resources/views/pages/admin/guestbook.blade.php b/resources/views/pages/admin/guestbook.blade.php index 56323ef..ec870bb 100644 --- a/resources/views/pages/admin/guestbook.blade.php +++ b/resources/views/pages/admin/guestbook.blade.php @@ -2,7 +2,11 @@ @section('title', 'guestbook') @section('content') @php - $entries = DB::select('SELECT id, name, timestamp, message FROM guestbook_entries ORDER BY id DESC'); + $entries = DB::select(' + SELECT id, name, timestamp, message + FROM guestbook__entries + ORDER BY id DESC + '); @endphp <h1>Entries <small>({{ count($entries) }} total)</small></h1> @foreach ($entries as $entry) |