|
@@ -9,20 +9,6 @@ SET standard_conforming_strings = on;
|
9
|
9
|
SET check_function_bodies = false;
|
10
|
10
|
SET client_min_messages = warning;
|
11
|
11
|
|
12
|
|
---
|
13
|
|
---
|
14
|
|
-
|
15
|
|
-CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
|
16
|
|
-
|
17
|
|
-
|
18
|
|
---
|
19
|
|
---
|
20
|
|
-
|
21
|
|
-COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
|
22
|
|
-
|
23
|
|
-
|
24
|
12
|
SET search_path = public, pg_catalog;
|
25
|
13
|
|
26
|
14
|
SET default_tablespace = '';
|
|
@@ -51,8 +37,6 @@ CREATE TABLE categories (
|
51
|
37
|
);
|
52
|
38
|
|
53
|
39
|
|
54
|
|
-ALTER TABLE public.categories OWNER TO postgres;
|
55
|
|
-
|
56
|
40
|
--
|
57
|
41
|
-- Name: comments; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
|
58
|
42
|
--
|
|
@@ -64,8 +48,6 @@ CREATE TABLE comments (
|
64
|
48
|
);
|
65
|
49
|
|
66
|
50
|
|
67
|
|
-ALTER TABLE public.comments OWNER TO postgres;
|
68
|
|
-
|
69
|
51
|
--
|
70
|
52
|
-- Name: post_tags; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
|
71
|
53
|
--
|
|
@@ -77,8 +59,6 @@ CREATE TABLE post_tags (
|
77
|
59
|
);
|
78
|
60
|
|
79
|
61
|
|
80
|
|
-ALTER TABLE public.post_tags OWNER TO postgres;
|
81
|
|
-
|
82
|
62
|
--
|
83
|
63
|
-- Name: posts; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
|
84
|
64
|
--
|
|
@@ -91,8 +71,6 @@ CREATE TABLE posts (
|
91
|
71
|
);
|
92
|
72
|
|
93
|
73
|
|
94
|
|
-ALTER TABLE public.posts OWNER TO postgres;
|
95
|
|
-
|
96
|
74
|
--
|
97
|
75
|
-- Name: tags; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
|
98
|
76
|
--
|
|
@@ -103,8 +81,6 @@ CREATE TABLE tags (
|
103
|
81
|
);
|
104
|
82
|
|
105
|
83
|
|
106
|
|
-ALTER TABLE public.tags OWNER TO postgres;
|
107
|
|
-
|
108
|
84
|
--
|
109
|
85
|
-- Name: users; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
|
110
|
86
|
--
|
|
@@ -116,8 +92,6 @@ CREATE TABLE users (
|
116
|
92
|
);
|
117
|
93
|
|
118
|
94
|
|
119
|
|
-ALTER TABLE public.users OWNER TO postgres;
|
120
|
|
-
|
121
|
95
|
--
|
122
|
96
|
-- Data for Name: categories; Type: TABLE DATA; Schema: public; Owner: postgres
|
123
|
97
|
--
|
|
@@ -301,17 +275,6 @@ ALTER TABLE ONLY posts
|
301
|
275
|
ADD CONSTRAINT posts_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(id);
|
302
|
276
|
|
303
|
277
|
|
304
|
|
---
|
305
|
|
---
|
306
|
|
-
|
307
|
|
-REVOKE ALL ON SCHEMA public FROM PUBLIC;
|
308
|
|
-REVOKE ALL ON SCHEMA public FROM postgres;
|
309
|
|
-GRANT ALL ON SCHEMA public TO postgres;
|
310
|
|
-GRANT ALL ON SCHEMA public TO PUBLIC;
|
311
|
|
-
|
312
|
|
-
|
313
|
278
|
--
|
314
|
279
|
-- PostgreSQL database dump complete
|
315
|
280
|
--
|
316
|
|
-
|