mirror of
https://github.com/Dvorinka/Bookra.git
synced 2026-06-03 20:13:00 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
-- name: ListUpcomingBookingsByTenant :many
|
||||
SELECT id, tenant_id, service_id, class_session_id, staff_id, location_id, booking_mode, customer_name, customer_email, starts_at, ends_at, status, reference, notes, created_at, updated_at
|
||||
FROM bookings
|
||||
WHERE tenant_id = $1 AND starts_at >= now()
|
||||
ORDER BY starts_at ASC
|
||||
LIMIT $2;
|
||||
|
||||
Reference in New Issue
Block a user