Skip to content

Commit

Permalink
updated db_status script
Browse files Browse the repository at this point in the history
  • Loading branch information
grabbiel committed Dec 3, 2024
1 parent 57c03a7 commit e443075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check_db_status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ sqlite3 "$DB_PATH" "
SELECT
'Articles' as table_name,
COUNT(*) as total,
SUM(CASE WHEN published = 1 THEN 1 ELSE 0 END) as published
FROM articles;
SUM(CASE WHEN status = 'published' THEN 1 ELSE 0 END) as published
FROM content_blocks;
"

# Check disk space
Expand Down

0 comments on commit e443075

Please sign in to comment.