Newer
Older
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
--
-- PostgreSQL database dump
--
SET client_encoding = 'UTF8';
SET check_function_bodies = false;
SET client_min_messages = warning;
--
-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres
--
COMMENT ON SCHEMA public IS 'Standard public schema';
SET search_path = public, pg_catalog;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: acctype; Type: TABLE; Schema: public; Owner: dez; Tablespace:
--
CREATE TABLE acctype (
id serial NOT NULL,
description text
);
--
-- Name: acctype_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dez
--
SELECT pg_catalog.setval(pg_catalog.pg_get_serial_sequence('acctype', 'id'), 5, true);
--
-- Name: awards; Type: TABLE; Schema: public; Owner: chckens; Tablespace:
--
CREATE TABLE awards (
id serial NOT NULL,
username text,
score integer,
whn timestamp(0) without time zone,
who text,
why text
);
--
-- Name: awards_id_seq; Type: SEQUENCE SET; Schema: public; Owner: chckens
--
SELECT pg_catalog.setval(pg_catalog.pg_get_serial_sequence('awards', 'id'), 25, true);
--
-- Name: bookcategories; Type: TABLE; Schema: public; Owner: chckens; Tablespace:
--
CREATE TABLE bookcategories (
id serial NOT NULL,
name text
);
ALTER TABLE public.bookcategories OWNER TO chckens;
--
-- Name: bookcategories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: chckens
--
SELECT pg_catalog.setval(pg_catalog.pg_get_serial_sequence('bookcategories', 'id'), 7, true);
-- Name: books; Type: TABLE; Schema: public; Owner: arthur; Tablespace:
--
CREATE TABLE books (
id integer DEFAULT nextval(('"books_id_seq"'::text)::regclass) NOT NULL,
title text,
author text,
keywords text,
comments text,
onloan boolean,
loandate timestamp with time zone,
publisher text,
loanwho text,
got boolean,
isbn text,
amazon_data text,
image_url text
);
-- Name: books_id_seq; Type: SEQUENCE; Schema: public; Owner: arthur
--
CREATE SEQUENCE books_id_seq
INCREMENT BY 1
MAXVALUE 2147483647
NO MINVALUE
CACHE 1;
-- Name: books_id_seq; Type: SEQUENCE SET; Schema: public; Owner: arthur
--
SELECT pg_catalog.setval('books_id_seq', 148, true);
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
--
-- Name: booktags; Type: TABLE; Schema: public; Owner: chckens; Tablespace:
--
CREATE TABLE booktags (
bookid integer,
tag integer
);
ALTER TABLE public.booktags OWNER TO chckens;
--
-- Name: events; Type: TABLE; Schema: public; Owner: chckens; Tablespace:
--
CREATE TABLE events (
id serial NOT NULL,
name text,
"location" text,
whn timestamp(0) without time zone
);
ALTER TABLE public.events OWNER TO chckens;
--
-- Name: events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: chckens
--
SELECT pg_catalog.setval(pg_catalog.pg_get_serial_sequence('events', 'id'), 1, false);
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
--
-- Name: games; Type: TABLE; Schema: public; Owner: chckens; Tablespace:
--
CREATE TABLE games (
id serial NOT NULL,
name text,
connect text
);
ALTER TABLE public.games OWNER TO chckens;
--
-- Name: games_id_seq; Type: SEQUENCE SET; Schema: public; Owner: chckens
--
SELECT pg_catalog.setval(pg_catalog.pg_get_serial_sequence('games', 'id'), 5, true);
--
-- Name: menu; Type: TABLE; Schema: public; Owner: dez; Tablespace:
--
CREATE TABLE menu (
id serial NOT NULL,
title text NOT NULL,
menuorder integer,
target text,
title_cy text,
permission text
);
ALTER TABLE public.menu OWNER TO dez;
--
-- Name: menu_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dez
--
SELECT pg_catalog.setval(pg_catalog.pg_get_serial_sequence('menu', 'id'), 37, true);
--
-- Name: news; Type: TABLE; Schema: public; Owner: chckens; Tablespace:
Loading
Loading full blame...