UPDATE "vehicles"
SET
  "pickupLocations" = COALESCE("pickupLocations", ARRAY[]::TEXT[]),
  "dropoffLocations" = COALESCE("dropoffLocations", ARRAY[]::TEXT[]);

ALTER TABLE "vehicles"
ALTER COLUMN "pickupLocations" SET DEFAULT ARRAY[]::TEXT[],
ALTER COLUMN "pickupLocations" SET NOT NULL,
ALTER COLUMN "dropoffLocations" SET DEFAULT ARRAY[]::TEXT[],
ALTER COLUMN "dropoffLocations" SET NOT NULL;
