-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdump.sql
186 lines (132 loc) · 4.52 KB
/
dump.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
--
-- PostgreSQL database dump
--
-- Dumped from database version 13.5
-- Dumped by pg_dump version 14.1
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
SET default_tablespace = '';
SET default_table_access_method = heap;
--
-- Name: comment; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.comment (
id integer NOT NULL,
conference_id integer NOT NULL,
author character varying(255) NOT NULL,
text text NOT NULL,
email character varying(255) NOT NULL,
created_at timestamp(0) without time zone NOT NULL,
photo_filename character varying(255) DEFAULT NULL::character varying
);
--
-- Name: comment_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.comment_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: conference; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.conference (
id integer NOT NULL,
city character varying(255) NOT NULL,
year character varying(4) NOT NULL,
is_international boolean NOT NULL,
slug character varying(255) NOT NULL
);
--
-- Name: conference_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public.conference_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: doctrine_migration_versions; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public.doctrine_migration_versions (
version character varying(191) NOT NULL,
executed_at timestamp(0) without time zone DEFAULT NULL::timestamp without time zone,
execution_time integer
);
--
-- Data for Name: comment; Type: TABLE DATA; Schema: public; Owner: -
--
COPY public.comment (id, conference_id, author, text, email, created_at, photo_filename) FROM stdin;
4 4 noob lol...... git@gud.com 2022-01-24 01:12:00 \N
5 4 jkml terriblement nul jkl@jkl.kolm 2022-01-24 05:26:00 \N
6 4 hjkl perte de temps........ hljk@jik.jklm 2022-01-24 05:26:00 \N
7 4 huli EXCELLENT!!!!!! hlkj@jkl.jklm 2022-11-29 05:26:00 \N
8 4 hjkml jklmj hljk@jik.jklm 2021-12-24 22:40:04 \N
9 6 hjklh jklh lhjkjkl@jk.hlk 2021-12-25 22:27:08 \N
10 6 fghj, gfj fghj@jio.hjmk 2021-12-25 22:36:33 98628eb40d2e.png
\.
--
-- Data for Name: conference; Type: TABLE DATA; Schema: public; Owner: -
--
COPY public.conference (id, city, year, is_international, slug) FROM stdin;
4 new 1 2021 f new 1-2021
5 old 2 2019 f old 2-2019
6 magnifique slug incoming 123 f magnifique slug lol
\.
--
-- Data for Name: doctrine_migration_versions; Type: TABLE DATA; Schema: public; Owner: -
--
COPY public.doctrine_migration_versions (version, executed_at, execution_time) FROM stdin;
DoctrineMigrations\\Version20211221221752 2021-12-21 22:23:19 124
DoctrineMigrations\\Version20211224224211 2021-12-24 22:49:03 61
DoctrineMigrations\\Version20211225095354 2021-12-25 09:54:19 344
\.
--
-- Name: comment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--
SELECT pg_catalog.setval('public.comment_id_seq', 10, true);
--
-- Name: conference_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--
SELECT pg_catalog.setval('public.conference_id_seq', 6, true);
--
-- Name: comment comment_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.comment
ADD CONSTRAINT comment_pkey PRIMARY KEY (id);
--
-- Name: conference conference_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.conference
ADD CONSTRAINT conference_pkey PRIMARY KEY (id);
--
-- Name: doctrine_migration_versions doctrine_migration_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.doctrine_migration_versions
ADD CONSTRAINT doctrine_migration_versions_pkey PRIMARY KEY (version);
--
-- Name: idx_9474526c604b8382; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX idx_9474526c604b8382 ON public.comment USING btree (conference_id);
--
-- Name: uniq_911533c8989d9b62; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX uniq_911533c8989d9b62 ON public.conference USING btree (slug);
--
-- Name: comment fk_9474526c604b8382; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public.comment
ADD CONSTRAINT fk_9474526c604b8382 FOREIGN KEY (conference_id) REFERENCES public.conference(id);
--
-- PostgreSQL database dump complete
--