Skip to content

Commit

Permalink
Heartbeat Command
Browse files Browse the repository at this point in the history
  • Loading branch information
alainvd committed Apr 17, 2024
1 parent 63a5d73 commit ddd98d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/Heartbeat.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function handle()
{
try {
// Attempt to query the users table
DB::table('users')->select(DB::raw(1))->take(1)->get();
DB::table('statements')->select(DB::raw(1))->take(1)->get();

// If the query is successful, database is up
$this->info('Database is up.');
Expand Down

0 comments on commit ddd98d7

Please sign in to comment.