aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages/guestbook.blade.php
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-07-19 01:58:32 +0100
committerFrankie B <git@diskfloppy.me>2023-07-19 01:58:32 +0100
commitfe0765795aae52df0edf064ce4add55d6edb0ed9 (patch)
tree7303aa0575cfd694430a7505cee976a8ce78d6f3 /resources/views/pages/guestbook.blade.php
parentfb045348cf4c72a2f523b6a0ce360b40d4d60ff3 (diff)
Update table names to new format
Diffstat (limited to 'resources/views/pages/guestbook.blade.php')
-rw-r--r--resources/views/pages/guestbook.blade.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/resources/views/pages/guestbook.blade.php b/resources/views/pages/guestbook.blade.php
index 1690274..56991aa 100644
--- a/resources/views/pages/guestbook.blade.php
+++ b/resources/views/pages/guestbook.blade.php
@@ -43,7 +43,11 @@
</ul>
<hr/>
@php
- $entries = DB::select('SELECT name, timestamp, message FROM guestbook_entries ORDER BY id DESC');
+ $entries = DB::select('
+ SELECT name, timestamp, message
+ FROM guestbook__entries
+ ORDER BY id DES
+ ');
@endphp
<h1>Entries <small>({{ count($entries) }} total)</small></h1>
@foreach ($entries as $entry)