 ALTER TABLE public."WeatherKahaluiAirport" OWNER TO sepgroup;
 
 --
+-- Name: event_data_id_seq; Type: SEQUENCE; Schema: public; Owner: sepgroup
+--
+
+CREATE SEQUENCE event_data_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.event_data_id_seq OWNER TO sepgroup;
+
+--
+-- Name: event_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: sepgroup
+--
+
+ALTER SEQUENCE event_data_id_seq OWNED BY "EventData".event_data_id;
+
+
+--
+-- Name: event_id_seq; Type: SEQUENCE; Schema: public; Owner: sepgroup
+--
+
+CREATE SEQUENCE event_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+ALTER TABLE public.event_id_seq OWNER TO sepgroup;
+
+--
+-- Name: event_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: sepgroup
+--
+
+ALTER SEQUENCE event_id_seq OWNED BY "Event".event_id;
+
+
+--
 -- Name: get_kwh_meter_locations; Type: VIEW; Schema: public; Owner: eileen
 --
 

ALTER TABLE public."viewReadings" OWNER TO daniel;

--
-- Name: interval_id; Type: DEFAULT; Schema: public; Owner: sepgroup
--


CREATE TABLE "EventData" (
    end_time timestamp without time zone,
    number_events smallint,
    start_time timestamp without time zone,
    meter_data_id bigint,
    event_data_id bigint NOT NULL
);


