- Create delivery schema - Add delivery_zones table with radius/polygon support - Add deliveries table with status tracking and proof of delivery - Add delivery_status_history for audit trail - Add drivers table for delivery personnel - Create updated_at triggers for all tables - Add automatic status history logging trigger - Create setup_default_zones() function for new tenants Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| delivery.sql | ||
| notifications.sql | ||