Fix stops query: use status column not deleted_at
Deploy to route.crispygoat.com / deploy (push) Successful in 3m33s
Deploy to route.crispygoat.com / deploy (push) Successful in 3m33s
stops table has no deleted_at column — soft delete is done via status='active' Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -48,7 +48,7 @@ export default async function AdminStopsPage() {
|
||||
b.name as brand_name
|
||||
FROM stops s
|
||||
LEFT JOIN brands b ON b.id = s.brand_id
|
||||
WHERE s.deleted_at IS NULL
|
||||
WHERE s.status = 'active'
|
||||
${brandFilter}
|
||||
ORDER BY s.date ASC
|
||||
`);
|
||||
|
||||
Reference in New Issue
Block a user