If you're seeing errors about missing columns, you need to update your database schema to include the new address fields.
Alternatively, you can run the following SQL in your Supabase SQL editor:
ALTER TABLE orders ADD COLUMN IF NOT EXISTS pickup_address_line1 TEXT; ALTER TABLE orders ADD COLUMN IF NOT EXISTS pickup_address_line2 TEXT; ALTER TABLE orders ADD COLUMN IF NOT EXISTS pickup_city TEXT; ALTER TABLE orders ADD COLUMN IF NOT EXISTS pickup_county TEXT; ALTER TABLE orders ADD COLUMN IF NOT EXISTS pickup_contact_name TEXT; ALTER TABLE orders ADD COLUMN IF NOT EXISTS pickup_contact_number TEXT; ALTER TABLE orders ADD COLUMN IF NOT EXISTS dropoff_address_line1 TEXT; ALTER TABLE orders ADD COLUMN IF NOT EXISTS dropoff_address_line2 TEXT; ALTER TABLE orders ADD COLUMN IF NOT EXISTS dropoff_city TEXT; ALTER TABLE orders ADD COLUMN IF NOT EXISTS dropoff_county TEXT; ALTER TABLE orders ADD COLUMN IF NOT EXISTS dropoff_contact_name TEXT; ALTER TABLE orders ADD COLUMN IF NOT EXISTS dropoff_contact_number TEXT;