 
 ALTER TABLE ONLY requested_ride
     ADD CONSTRAINT "REQUESTED_RIDE_RiderID_fkey" FOREIGN KEY ("RiderID") REFERENCES rider("RiderID");
-
-
---
--- Name: match_uuid_driver_fkey; Type: FK CONSTRAINT; Schema: nov2016; Owner: carpool_admins
---
-
-ALTER TABLE ONLY match
-    ADD CONSTRAINT match_uuid_driver_fkey FOREIGN KEY (uuid_driver) REFERENCES stage.websubmission_driver("UUID") ON DELETE CASCADE;
-
-
---
--- Name: match_uuid_rider_fkey; Type: FK CONSTRAINT; Schema: nov2016; Owner: carpool_admins
---
-
-ALTER TABLE ONLY match
-    ADD CONSTRAINT match_uuid_rider_fkey FOREIGN KEY (uuid_rider) REFERENCES stage.websubmission_rider("UUID") ON DELETE CASCADE;
 
 
 --

SET row_security = off;

--
-- Name: import; Type: SCHEMA; Schema: -; Owner: eric
--

CREATE SCHEMA import;


ALTER SCHEMA import OWNER TO eric;

--
-- Name: nov2016; Type: SCHEMA; Schema: -; Owner: postgres
--




--
-- Name: MatchStatusID; Type: DEFAULT; Schema: nov2016; Owner: carpool_admins
--

ALTER TABLE ONLY match_status ALTER COLUMN "MatchStatusID" SET DEFAULT nextval('"match_status_MatchStatusID_seq"'::regclass);


--
