Files
route-commerce/supabase/migrations/076_stops_address_cutoff.sql
T

7 lines
351 B
SQL

-- Migration 076: Add address, zip, cutoff_time to stops
-- Supports driver navigation (street address) and customer cutoff deadline
ALTER TABLE stops ADD COLUMN IF NOT EXISTS address TEXT DEFAULT NULL;
ALTER TABLE stops ADD COLUMN IF NOT EXISTS zip TEXT DEFAULT NULL;
ALTER TABLE stops ADD COLUMN IF NOT EXISTS cutoff_time TIMESTAMPTZ DEFAULT NULL;