mqtt_server/server/restore_meeting.sql
Martin Donnelly 81f0222ff6 bus system
2016-11-13 22:21:18 +00:00

115 lines
3.0 KiB
SQL

--
-- PostgreSQL database dump
--
-- Dumped from database version 9.5.1
-- Dumped by pg_dump version 9.5.1
-- Started on 2016-08-18 15:46:39 BST
SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET row_security = off;
SET search_path = public, pg_catalog;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- TOC entry 188 (class 1259 OID 63387)
-- Name: meeting; Type: TABLE; Schema: public; Owner: postgres
--
DROP SEQUENCE public.meeting_id_seq;
DROP TABLE public.meeting;
CREATE TABLE meeting (
id integer NOT NULL,
locationid integer,
logged timestamp with time zone,
count smallint,
start timestamp with time zone,
"end" timestamp with time zone
);
ALTER TABLE meeting OWNER TO postgres;
--
-- TOC entry 187 (class 1259 OID 63385)
-- Name: meeting_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE meeting_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE meeting_id_seq OWNER TO postgres;
--
-- TOC entry 2387 (class 0 OID 0)
-- Dependencies: 187
-- Name: meeting_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE meeting_id_seq OWNED BY meeting.id;
--
-- TOC entry 2266 (class 2604 OID 63390)
-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY meeting ALTER COLUMN id SET DEFAULT nextval('meeting_id_seq'::regclass);
--
-- TOC entry 2382 (class 0 OID 63387)
-- Dependencies: 188
-- Data for Name: meeting; Type: TABLE DATA; Schema: public; Owner: postgres
--
COPY meeting (id, locationid, logged, count, start, "end") FROM stdin;
3 1 2016-08-18 15:39:26+01 4 2016-08-04 13:00:00+01 2016-08-04 13:45:00+01
4 1 2016-08-18 15:39:51+01 11 2014-08-04 14:00:00+01 2014-08-04 14:45:00+01
5 1 2016-08-18 15:40:29+01 2 2016-08-04 14:45:00+01 2016-08-04 14:55:00+01
6 1 2016-08-18 15:40:55+01 3 2016-08-04 15:04:00+01 2016-08-04 16:06:00+01
7 1 2016-08-18 15:41:25+01 2 2016-08-05 11:05:00+01 2016-08-05 12:15:00+01
8 1 2016-08-18 15:41:47+01 1 2016-08-05 14:10:00+01 2016-08-05 14:25:00+01
9 1 2016-08-18 15:42:08+01 4 2016-08-05 15:00:00+01 2016-08-05 15:30:00+01
10 1 2016-08-18 15:42:37+01 4 2016-08-05 15:30:00+01 2016-08-05 16:23:00+01
11 1 2016-08-18 15:43:02+01 8 2016-08-08 11:00:00+01 2016-08-08 12:12:00+01
12 1 2016-08-18 15:43:29+01 7 2016-08-08 15:37:00+01 2016-08-08 16:50:00+01
13 1 2016-08-18 15:44:10+01 5 2016-08-09 10:02:00+01 2016-08-09 10:15:00+01
14 1 2016-08-18 15:44:34+01 6 2016-08-09 10:15:00+01 2016-08-09 12:05:00+01
15 1 2016-08-18 15:44:52+01 1 2016-08-09 13:05:00+01 2016-08-09 13:10:00+01
\.
--
-- TOC entry 2388 (class 0 OID 0)
-- Dependencies: 187
-- Name: meeting_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--
SELECT pg_catalog.setval('meeting_id_seq', 15, true);
-- Completed on 2016-08-18 15:46:39 BST
--
-- PostgreSQL database dump complete
--