xref: /dokuwiki/lib/plugins/authpdo/_test/pgsql/django.sql (revision 32a211c774abd20f9ff65b08f14f91177e2910f0)
1*32a211c7SAndreas Gohr--
2*32a211c7SAndreas Gohr-- PostgreSQL database dump
3*32a211c7SAndreas Gohr--
4*32a211c7SAndreas Gohr
5*32a211c7SAndreas Gohr-- Dumped from database version 9.5.1
6*32a211c7SAndreas Gohr-- Dumped by pg_dump version 9.5.1
7*32a211c7SAndreas Gohr
8*32a211c7SAndreas GohrSET statement_timeout = 0;
9*32a211c7SAndreas GohrSET lock_timeout = 0;
10*32a211c7SAndreas GohrSET client_encoding = 'UTF8';
11*32a211c7SAndreas GohrSET standard_conforming_strings = on;
12*32a211c7SAndreas GohrSET check_function_bodies = false;
13*32a211c7SAndreas GohrSET client_min_messages = warning;
14*32a211c7SAndreas GohrSET row_security = off;
15*32a211c7SAndreas Gohr
16*32a211c7SAndreas Gohr--
17*32a211c7SAndreas Gohr-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
18*32a211c7SAndreas Gohr--
19*32a211c7SAndreas Gohr
20*32a211c7SAndreas GohrCREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
21*32a211c7SAndreas Gohr
22*32a211c7SAndreas Gohr
23*32a211c7SAndreas Gohr--
24*32a211c7SAndreas Gohr-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:
25*32a211c7SAndreas Gohr--
26*32a211c7SAndreas Gohr
27*32a211c7SAndreas GohrCOMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
28*32a211c7SAndreas Gohr
29*32a211c7SAndreas Gohr
30*32a211c7SAndreas GohrSET search_path = public, pg_catalog;
31*32a211c7SAndreas Gohr
32*32a211c7SAndreas GohrSET default_tablespace = '';
33*32a211c7SAndreas Gohr
34*32a211c7SAndreas GohrSET default_with_oids = false;
35*32a211c7SAndreas Gohr
36*32a211c7SAndreas Gohr--
37*32a211c7SAndreas Gohr-- Name: auth_group; Type: TABLE; Schema: public; Owner: postgres
38*32a211c7SAndreas Gohr--
39*32a211c7SAndreas Gohr
40*32a211c7SAndreas GohrCREATE TABLE auth_group (
41*32a211c7SAndreas Gohr    id integer NOT NULL,
42*32a211c7SAndreas Gohr    name character varying(80) NOT NULL
43*32a211c7SAndreas Gohr);
44*32a211c7SAndreas Gohr
45*32a211c7SAndreas Gohr
46*32a211c7SAndreas GohrALTER TABLE auth_group OWNER TO postgres;
47*32a211c7SAndreas Gohr
48*32a211c7SAndreas Gohr--
49*32a211c7SAndreas Gohr-- Name: auth_group_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
50*32a211c7SAndreas Gohr--
51*32a211c7SAndreas Gohr
52*32a211c7SAndreas GohrCREATE SEQUENCE auth_group_id_seq
53*32a211c7SAndreas Gohr    START WITH 1
54*32a211c7SAndreas Gohr    INCREMENT BY 1
55*32a211c7SAndreas Gohr    NO MINVALUE
56*32a211c7SAndreas Gohr    NO MAXVALUE
57*32a211c7SAndreas Gohr    CACHE 1;
58*32a211c7SAndreas Gohr
59*32a211c7SAndreas Gohr
60*32a211c7SAndreas GohrALTER TABLE auth_group_id_seq OWNER TO postgres;
61*32a211c7SAndreas Gohr
62*32a211c7SAndreas Gohr--
63*32a211c7SAndreas Gohr-- Name: auth_group_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
64*32a211c7SAndreas Gohr--
65*32a211c7SAndreas Gohr
66*32a211c7SAndreas GohrALTER SEQUENCE auth_group_id_seq OWNED BY auth_group.id;
67*32a211c7SAndreas Gohr
68*32a211c7SAndreas Gohr
69*32a211c7SAndreas Gohr--
70*32a211c7SAndreas Gohr-- Name: auth_group_permissions; Type: TABLE; Schema: public; Owner: postgres
71*32a211c7SAndreas Gohr--
72*32a211c7SAndreas Gohr
73*32a211c7SAndreas GohrCREATE TABLE auth_group_permissions (
74*32a211c7SAndreas Gohr    id integer NOT NULL,
75*32a211c7SAndreas Gohr    group_id integer NOT NULL,
76*32a211c7SAndreas Gohr    permission_id integer NOT NULL
77*32a211c7SAndreas Gohr);
78*32a211c7SAndreas Gohr
79*32a211c7SAndreas Gohr
80*32a211c7SAndreas GohrALTER TABLE auth_group_permissions OWNER TO postgres;
81*32a211c7SAndreas Gohr
82*32a211c7SAndreas Gohr--
83*32a211c7SAndreas Gohr-- Name: auth_group_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
84*32a211c7SAndreas Gohr--
85*32a211c7SAndreas Gohr
86*32a211c7SAndreas GohrCREATE SEQUENCE auth_group_permissions_id_seq
87*32a211c7SAndreas Gohr    START WITH 1
88*32a211c7SAndreas Gohr    INCREMENT BY 1
89*32a211c7SAndreas Gohr    NO MINVALUE
90*32a211c7SAndreas Gohr    NO MAXVALUE
91*32a211c7SAndreas Gohr    CACHE 1;
92*32a211c7SAndreas Gohr
93*32a211c7SAndreas Gohr
94*32a211c7SAndreas GohrALTER TABLE auth_group_permissions_id_seq OWNER TO postgres;
95*32a211c7SAndreas Gohr
96*32a211c7SAndreas Gohr--
97*32a211c7SAndreas Gohr-- Name: auth_group_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
98*32a211c7SAndreas Gohr--
99*32a211c7SAndreas Gohr
100*32a211c7SAndreas GohrALTER SEQUENCE auth_group_permissions_id_seq OWNED BY auth_group_permissions.id;
101*32a211c7SAndreas Gohr
102*32a211c7SAndreas Gohr
103*32a211c7SAndreas Gohr--
104*32a211c7SAndreas Gohr-- Name: auth_permission; Type: TABLE; Schema: public; Owner: postgres
105*32a211c7SAndreas Gohr--
106*32a211c7SAndreas Gohr
107*32a211c7SAndreas GohrCREATE TABLE auth_permission (
108*32a211c7SAndreas Gohr    id integer NOT NULL,
109*32a211c7SAndreas Gohr    name character varying(255) NOT NULL,
110*32a211c7SAndreas Gohr    content_type_id integer NOT NULL,
111*32a211c7SAndreas Gohr    codename character varying(100) NOT NULL
112*32a211c7SAndreas Gohr);
113*32a211c7SAndreas Gohr
114*32a211c7SAndreas Gohr
115*32a211c7SAndreas GohrALTER TABLE auth_permission OWNER TO postgres;
116*32a211c7SAndreas Gohr
117*32a211c7SAndreas Gohr--
118*32a211c7SAndreas Gohr-- Name: auth_permission_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
119*32a211c7SAndreas Gohr--
120*32a211c7SAndreas Gohr
121*32a211c7SAndreas GohrCREATE SEQUENCE auth_permission_id_seq
122*32a211c7SAndreas Gohr    START WITH 1
123*32a211c7SAndreas Gohr    INCREMENT BY 1
124*32a211c7SAndreas Gohr    NO MINVALUE
125*32a211c7SAndreas Gohr    NO MAXVALUE
126*32a211c7SAndreas Gohr    CACHE 1;
127*32a211c7SAndreas Gohr
128*32a211c7SAndreas Gohr
129*32a211c7SAndreas GohrALTER TABLE auth_permission_id_seq OWNER TO postgres;
130*32a211c7SAndreas Gohr
131*32a211c7SAndreas Gohr--
132*32a211c7SAndreas Gohr-- Name: auth_permission_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
133*32a211c7SAndreas Gohr--
134*32a211c7SAndreas Gohr
135*32a211c7SAndreas GohrALTER SEQUENCE auth_permission_id_seq OWNED BY auth_permission.id;
136*32a211c7SAndreas Gohr
137*32a211c7SAndreas Gohr
138*32a211c7SAndreas Gohr--
139*32a211c7SAndreas Gohr-- Name: auth_user; Type: TABLE; Schema: public; Owner: postgres
140*32a211c7SAndreas Gohr--
141*32a211c7SAndreas Gohr
142*32a211c7SAndreas GohrCREATE TABLE auth_user (
143*32a211c7SAndreas Gohr    id integer NOT NULL,
144*32a211c7SAndreas Gohr    password character varying(128) NOT NULL,
145*32a211c7SAndreas Gohr    last_login timestamp with time zone,
146*32a211c7SAndreas Gohr    is_superuser boolean NOT NULL,
147*32a211c7SAndreas Gohr    username character varying(30) NOT NULL,
148*32a211c7SAndreas Gohr    first_name character varying(30) NOT NULL,
149*32a211c7SAndreas Gohr    last_name character varying(30) NOT NULL,
150*32a211c7SAndreas Gohr    email character varying(254) NOT NULL,
151*32a211c7SAndreas Gohr    is_staff boolean NOT NULL,
152*32a211c7SAndreas Gohr    is_active boolean NOT NULL,
153*32a211c7SAndreas Gohr    date_joined timestamp with time zone NOT NULL
154*32a211c7SAndreas Gohr);
155*32a211c7SAndreas Gohr
156*32a211c7SAndreas Gohr
157*32a211c7SAndreas GohrALTER TABLE auth_user OWNER TO postgres;
158*32a211c7SAndreas Gohr
159*32a211c7SAndreas Gohr--
160*32a211c7SAndreas Gohr-- Name: auth_user_groups; Type: TABLE; Schema: public; Owner: postgres
161*32a211c7SAndreas Gohr--
162*32a211c7SAndreas Gohr
163*32a211c7SAndreas GohrCREATE TABLE auth_user_groups (
164*32a211c7SAndreas Gohr    id integer NOT NULL,
165*32a211c7SAndreas Gohr    user_id integer NOT NULL,
166*32a211c7SAndreas Gohr    group_id integer NOT NULL
167*32a211c7SAndreas Gohr);
168*32a211c7SAndreas Gohr
169*32a211c7SAndreas Gohr
170*32a211c7SAndreas GohrALTER TABLE auth_user_groups OWNER TO postgres;
171*32a211c7SAndreas Gohr
172*32a211c7SAndreas Gohr--
173*32a211c7SAndreas Gohr-- Name: auth_user_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
174*32a211c7SAndreas Gohr--
175*32a211c7SAndreas Gohr
176*32a211c7SAndreas GohrCREATE SEQUENCE auth_user_groups_id_seq
177*32a211c7SAndreas Gohr    START WITH 1
178*32a211c7SAndreas Gohr    INCREMENT BY 1
179*32a211c7SAndreas Gohr    NO MINVALUE
180*32a211c7SAndreas Gohr    NO MAXVALUE
181*32a211c7SAndreas Gohr    CACHE 1;
182*32a211c7SAndreas Gohr
183*32a211c7SAndreas Gohr
184*32a211c7SAndreas GohrALTER TABLE auth_user_groups_id_seq OWNER TO postgres;
185*32a211c7SAndreas Gohr
186*32a211c7SAndreas Gohr--
187*32a211c7SAndreas Gohr-- Name: auth_user_groups_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
188*32a211c7SAndreas Gohr--
189*32a211c7SAndreas Gohr
190*32a211c7SAndreas GohrALTER SEQUENCE auth_user_groups_id_seq OWNED BY auth_user_groups.id;
191*32a211c7SAndreas Gohr
192*32a211c7SAndreas Gohr
193*32a211c7SAndreas Gohr--
194*32a211c7SAndreas Gohr-- Name: auth_user_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
195*32a211c7SAndreas Gohr--
196*32a211c7SAndreas Gohr
197*32a211c7SAndreas GohrCREATE SEQUENCE auth_user_id_seq
198*32a211c7SAndreas Gohr    START WITH 1
199*32a211c7SAndreas Gohr    INCREMENT BY 1
200*32a211c7SAndreas Gohr    NO MINVALUE
201*32a211c7SAndreas Gohr    NO MAXVALUE
202*32a211c7SAndreas Gohr    CACHE 1;
203*32a211c7SAndreas Gohr
204*32a211c7SAndreas Gohr
205*32a211c7SAndreas GohrALTER TABLE auth_user_id_seq OWNER TO postgres;
206*32a211c7SAndreas Gohr
207*32a211c7SAndreas Gohr--
208*32a211c7SAndreas Gohr-- Name: auth_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
209*32a211c7SAndreas Gohr--
210*32a211c7SAndreas Gohr
211*32a211c7SAndreas GohrALTER SEQUENCE auth_user_id_seq OWNED BY auth_user.id;
212*32a211c7SAndreas Gohr
213*32a211c7SAndreas Gohr
214*32a211c7SAndreas Gohr--
215*32a211c7SAndreas Gohr-- Name: auth_user_user_permissions; Type: TABLE; Schema: public; Owner: postgres
216*32a211c7SAndreas Gohr--
217*32a211c7SAndreas Gohr
218*32a211c7SAndreas GohrCREATE TABLE auth_user_user_permissions (
219*32a211c7SAndreas Gohr    id integer NOT NULL,
220*32a211c7SAndreas Gohr    user_id integer NOT NULL,
221*32a211c7SAndreas Gohr    permission_id integer NOT NULL
222*32a211c7SAndreas Gohr);
223*32a211c7SAndreas Gohr
224*32a211c7SAndreas Gohr
225*32a211c7SAndreas GohrALTER TABLE auth_user_user_permissions OWNER TO postgres;
226*32a211c7SAndreas Gohr
227*32a211c7SAndreas Gohr--
228*32a211c7SAndreas Gohr-- Name: auth_user_user_permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
229*32a211c7SAndreas Gohr--
230*32a211c7SAndreas Gohr
231*32a211c7SAndreas GohrCREATE SEQUENCE auth_user_user_permissions_id_seq
232*32a211c7SAndreas Gohr    START WITH 1
233*32a211c7SAndreas Gohr    INCREMENT BY 1
234*32a211c7SAndreas Gohr    NO MINVALUE
235*32a211c7SAndreas Gohr    NO MAXVALUE
236*32a211c7SAndreas Gohr    CACHE 1;
237*32a211c7SAndreas Gohr
238*32a211c7SAndreas Gohr
239*32a211c7SAndreas GohrALTER TABLE auth_user_user_permissions_id_seq OWNER TO postgres;
240*32a211c7SAndreas Gohr
241*32a211c7SAndreas Gohr--
242*32a211c7SAndreas Gohr-- Name: auth_user_user_permissions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
243*32a211c7SAndreas Gohr--
244*32a211c7SAndreas Gohr
245*32a211c7SAndreas GohrALTER SEQUENCE auth_user_user_permissions_id_seq OWNED BY auth_user_user_permissions.id;
246*32a211c7SAndreas Gohr
247*32a211c7SAndreas Gohr
248*32a211c7SAndreas Gohr--
249*32a211c7SAndreas Gohr-- Name: django_admin_log; Type: TABLE; Schema: public; Owner: postgres
250*32a211c7SAndreas Gohr--
251*32a211c7SAndreas Gohr
252*32a211c7SAndreas GohrCREATE TABLE django_admin_log (
253*32a211c7SAndreas Gohr    id integer NOT NULL,
254*32a211c7SAndreas Gohr    action_time timestamp with time zone NOT NULL,
255*32a211c7SAndreas Gohr    object_id text,
256*32a211c7SAndreas Gohr    object_repr character varying(200) NOT NULL,
257*32a211c7SAndreas Gohr    action_flag smallint NOT NULL,
258*32a211c7SAndreas Gohr    change_message text NOT NULL,
259*32a211c7SAndreas Gohr    content_type_id integer,
260*32a211c7SAndreas Gohr    user_id integer NOT NULL,
261*32a211c7SAndreas Gohr    CONSTRAINT django_admin_log_action_flag_check CHECK ((action_flag >= 0))
262*32a211c7SAndreas Gohr);
263*32a211c7SAndreas Gohr
264*32a211c7SAndreas Gohr
265*32a211c7SAndreas GohrALTER TABLE django_admin_log OWNER TO postgres;
266*32a211c7SAndreas Gohr
267*32a211c7SAndreas Gohr--
268*32a211c7SAndreas Gohr-- Name: django_admin_log_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
269*32a211c7SAndreas Gohr--
270*32a211c7SAndreas Gohr
271*32a211c7SAndreas GohrCREATE SEQUENCE django_admin_log_id_seq
272*32a211c7SAndreas Gohr    START WITH 1
273*32a211c7SAndreas Gohr    INCREMENT BY 1
274*32a211c7SAndreas Gohr    NO MINVALUE
275*32a211c7SAndreas Gohr    NO MAXVALUE
276*32a211c7SAndreas Gohr    CACHE 1;
277*32a211c7SAndreas Gohr
278*32a211c7SAndreas Gohr
279*32a211c7SAndreas GohrALTER TABLE django_admin_log_id_seq OWNER TO postgres;
280*32a211c7SAndreas Gohr
281*32a211c7SAndreas Gohr--
282*32a211c7SAndreas Gohr-- Name: django_admin_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
283*32a211c7SAndreas Gohr--
284*32a211c7SAndreas Gohr
285*32a211c7SAndreas GohrALTER SEQUENCE django_admin_log_id_seq OWNED BY django_admin_log.id;
286*32a211c7SAndreas Gohr
287*32a211c7SAndreas Gohr
288*32a211c7SAndreas Gohr--
289*32a211c7SAndreas Gohr-- Name: django_content_type; Type: TABLE; Schema: public; Owner: postgres
290*32a211c7SAndreas Gohr--
291*32a211c7SAndreas Gohr
292*32a211c7SAndreas GohrCREATE TABLE django_content_type (
293*32a211c7SAndreas Gohr    id integer NOT NULL,
294*32a211c7SAndreas Gohr    app_label character varying(100) NOT NULL,
295*32a211c7SAndreas Gohr    model character varying(100) NOT NULL
296*32a211c7SAndreas Gohr);
297*32a211c7SAndreas Gohr
298*32a211c7SAndreas Gohr
299*32a211c7SAndreas GohrALTER TABLE django_content_type OWNER TO postgres;
300*32a211c7SAndreas Gohr
301*32a211c7SAndreas Gohr--
302*32a211c7SAndreas Gohr-- Name: django_content_type_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
303*32a211c7SAndreas Gohr--
304*32a211c7SAndreas Gohr
305*32a211c7SAndreas GohrCREATE SEQUENCE django_content_type_id_seq
306*32a211c7SAndreas Gohr    START WITH 1
307*32a211c7SAndreas Gohr    INCREMENT BY 1
308*32a211c7SAndreas Gohr    NO MINVALUE
309*32a211c7SAndreas Gohr    NO MAXVALUE
310*32a211c7SAndreas Gohr    CACHE 1;
311*32a211c7SAndreas Gohr
312*32a211c7SAndreas Gohr
313*32a211c7SAndreas GohrALTER TABLE django_content_type_id_seq OWNER TO postgres;
314*32a211c7SAndreas Gohr
315*32a211c7SAndreas Gohr--
316*32a211c7SAndreas Gohr-- Name: django_content_type_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
317*32a211c7SAndreas Gohr--
318*32a211c7SAndreas Gohr
319*32a211c7SAndreas GohrALTER SEQUENCE django_content_type_id_seq OWNED BY django_content_type.id;
320*32a211c7SAndreas Gohr
321*32a211c7SAndreas Gohr
322*32a211c7SAndreas Gohr--
323*32a211c7SAndreas Gohr-- Name: django_migrations; Type: TABLE; Schema: public; Owner: postgres
324*32a211c7SAndreas Gohr--
325*32a211c7SAndreas Gohr
326*32a211c7SAndreas GohrCREATE TABLE django_migrations (
327*32a211c7SAndreas Gohr    id integer NOT NULL,
328*32a211c7SAndreas Gohr    app character varying(255) NOT NULL,
329*32a211c7SAndreas Gohr    name character varying(255) NOT NULL,
330*32a211c7SAndreas Gohr    applied timestamp with time zone NOT NULL
331*32a211c7SAndreas Gohr);
332*32a211c7SAndreas Gohr
333*32a211c7SAndreas Gohr
334*32a211c7SAndreas GohrALTER TABLE django_migrations OWNER TO postgres;
335*32a211c7SAndreas Gohr
336*32a211c7SAndreas Gohr--
337*32a211c7SAndreas Gohr-- Name: django_migrations_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
338*32a211c7SAndreas Gohr--
339*32a211c7SAndreas Gohr
340*32a211c7SAndreas GohrCREATE SEQUENCE django_migrations_id_seq
341*32a211c7SAndreas Gohr    START WITH 1
342*32a211c7SAndreas Gohr    INCREMENT BY 1
343*32a211c7SAndreas Gohr    NO MINVALUE
344*32a211c7SAndreas Gohr    NO MAXVALUE
345*32a211c7SAndreas Gohr    CACHE 1;
346*32a211c7SAndreas Gohr
347*32a211c7SAndreas Gohr
348*32a211c7SAndreas GohrALTER TABLE django_migrations_id_seq OWNER TO postgres;
349*32a211c7SAndreas Gohr
350*32a211c7SAndreas Gohr--
351*32a211c7SAndreas Gohr-- Name: django_migrations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
352*32a211c7SAndreas Gohr--
353*32a211c7SAndreas Gohr
354*32a211c7SAndreas GohrALTER SEQUENCE django_migrations_id_seq OWNED BY django_migrations.id;
355*32a211c7SAndreas Gohr
356*32a211c7SAndreas Gohr
357*32a211c7SAndreas Gohr--
358*32a211c7SAndreas Gohr-- Name: django_session; Type: TABLE; Schema: public; Owner: postgres
359*32a211c7SAndreas Gohr--
360*32a211c7SAndreas Gohr
361*32a211c7SAndreas GohrCREATE TABLE django_session (
362*32a211c7SAndreas Gohr    session_key character varying(40) NOT NULL,
363*32a211c7SAndreas Gohr    session_data text NOT NULL,
364*32a211c7SAndreas Gohr    expire_date timestamp with time zone NOT NULL
365*32a211c7SAndreas Gohr);
366*32a211c7SAndreas Gohr
367*32a211c7SAndreas Gohr
368*32a211c7SAndreas GohrALTER TABLE django_session OWNER TO postgres;
369*32a211c7SAndreas Gohr
370*32a211c7SAndreas Gohr--
371*32a211c7SAndreas Gohr-- Name: timetracker_billingperiod; Type: TABLE; Schema: public; Owner: postgres
372*32a211c7SAndreas Gohr--
373*32a211c7SAndreas Gohr
374*32a211c7SAndreas GohrCREATE TABLE timetracker_billingperiod (
375*32a211c7SAndreas Gohr    id integer NOT NULL,
376*32a211c7SAndreas Gohr    time_from timestamp with time zone NOT NULL,
377*32a211c7SAndreas Gohr    time_until timestamp with time zone NOT NULL,
378*32a211c7SAndreas Gohr    closed boolean NOT NULL,
379*32a211c7SAndreas Gohr    identifier character varying(10),
380*32a211c7SAndreas Gohr    project_id integer NOT NULL
381*32a211c7SAndreas Gohr);
382*32a211c7SAndreas Gohr
383*32a211c7SAndreas Gohr
384*32a211c7SAndreas GohrALTER TABLE timetracker_billingperiod OWNER TO postgres;
385*32a211c7SAndreas Gohr
386*32a211c7SAndreas Gohr--
387*32a211c7SAndreas Gohr-- Name: timetracker_billingperiod_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
388*32a211c7SAndreas Gohr--
389*32a211c7SAndreas Gohr
390*32a211c7SAndreas GohrCREATE SEQUENCE timetracker_billingperiod_id_seq
391*32a211c7SAndreas Gohr    START WITH 1
392*32a211c7SAndreas Gohr    INCREMENT BY 1
393*32a211c7SAndreas Gohr    NO MINVALUE
394*32a211c7SAndreas Gohr    NO MAXVALUE
395*32a211c7SAndreas Gohr    CACHE 1;
396*32a211c7SAndreas Gohr
397*32a211c7SAndreas Gohr
398*32a211c7SAndreas GohrALTER TABLE timetracker_billingperiod_id_seq OWNER TO postgres;
399*32a211c7SAndreas Gohr
400*32a211c7SAndreas Gohr--
401*32a211c7SAndreas Gohr-- Name: timetracker_billingperiod_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
402*32a211c7SAndreas Gohr--
403*32a211c7SAndreas Gohr
404*32a211c7SAndreas GohrALTER SEQUENCE timetracker_billingperiod_id_seq OWNED BY timetracker_billingperiod.id;
405*32a211c7SAndreas Gohr
406*32a211c7SAndreas Gohr
407*32a211c7SAndreas Gohr--
408*32a211c7SAndreas Gohr-- Name: timetracker_project; Type: TABLE; Schema: public; Owner: postgres
409*32a211c7SAndreas Gohr--
410*32a211c7SAndreas Gohr
411*32a211c7SAndreas GohrCREATE TABLE timetracker_project (
412*32a211c7SAndreas Gohr    id integer NOT NULL,
413*32a211c7SAndreas Gohr    name character varying(200) NOT NULL,
414*32a211c7SAndreas Gohr    billing_id character varying(50) NOT NULL,
415*32a211c7SAndreas Gohr    active boolean NOT NULL,
416*32a211c7SAndreas Gohr    time_created timestamp with time zone NOT NULL,
417*32a211c7SAndreas Gohr    last_modified timestamp with time zone NOT NULL
418*32a211c7SAndreas Gohr);
419*32a211c7SAndreas Gohr
420*32a211c7SAndreas Gohr
421*32a211c7SAndreas GohrALTER TABLE timetracker_project OWNER TO postgres;
422*32a211c7SAndreas Gohr
423*32a211c7SAndreas Gohr--
424*32a211c7SAndreas Gohr-- Name: timetracker_project_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
425*32a211c7SAndreas Gohr--
426*32a211c7SAndreas Gohr
427*32a211c7SAndreas GohrCREATE SEQUENCE timetracker_project_id_seq
428*32a211c7SAndreas Gohr    START WITH 1
429*32a211c7SAndreas Gohr    INCREMENT BY 1
430*32a211c7SAndreas Gohr    NO MINVALUE
431*32a211c7SAndreas Gohr    NO MAXVALUE
432*32a211c7SAndreas Gohr    CACHE 1;
433*32a211c7SAndreas Gohr
434*32a211c7SAndreas Gohr
435*32a211c7SAndreas GohrALTER TABLE timetracker_project_id_seq OWNER TO postgres;
436*32a211c7SAndreas Gohr
437*32a211c7SAndreas Gohr--
438*32a211c7SAndreas Gohr-- Name: timetracker_project_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
439*32a211c7SAndreas Gohr--
440*32a211c7SAndreas Gohr
441*32a211c7SAndreas GohrALTER SEQUENCE timetracker_project_id_seq OWNED BY timetracker_project.id;
442*32a211c7SAndreas Gohr
443*32a211c7SAndreas Gohr
444*32a211c7SAndreas Gohr--
445*32a211c7SAndreas Gohr-- Name: timetracker_project_members; Type: TABLE; Schema: public; Owner: postgres
446*32a211c7SAndreas Gohr--
447*32a211c7SAndreas Gohr
448*32a211c7SAndreas GohrCREATE TABLE timetracker_project_members (
449*32a211c7SAndreas Gohr    id integer NOT NULL,
450*32a211c7SAndreas Gohr    project_id integer NOT NULL,
451*32a211c7SAndreas Gohr    user_id integer NOT NULL
452*32a211c7SAndreas Gohr);
453*32a211c7SAndreas Gohr
454*32a211c7SAndreas Gohr
455*32a211c7SAndreas GohrALTER TABLE timetracker_project_members OWNER TO postgres;
456*32a211c7SAndreas Gohr
457*32a211c7SAndreas Gohr--
458*32a211c7SAndreas Gohr-- Name: timetracker_project_members_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
459*32a211c7SAndreas Gohr--
460*32a211c7SAndreas Gohr
461*32a211c7SAndreas GohrCREATE SEQUENCE timetracker_project_members_id_seq
462*32a211c7SAndreas Gohr    START WITH 1
463*32a211c7SAndreas Gohr    INCREMENT BY 1
464*32a211c7SAndreas Gohr    NO MINVALUE
465*32a211c7SAndreas Gohr    NO MAXVALUE
466*32a211c7SAndreas Gohr    CACHE 1;
467*32a211c7SAndreas Gohr
468*32a211c7SAndreas Gohr
469*32a211c7SAndreas GohrALTER TABLE timetracker_project_members_id_seq OWNER TO postgres;
470*32a211c7SAndreas Gohr
471*32a211c7SAndreas Gohr--
472*32a211c7SAndreas Gohr-- Name: timetracker_project_members_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
473*32a211c7SAndreas Gohr--
474*32a211c7SAndreas Gohr
475*32a211c7SAndreas GohrALTER SEQUENCE timetracker_project_members_id_seq OWNED BY timetracker_project_members.id;
476*32a211c7SAndreas Gohr
477*32a211c7SAndreas Gohr
478*32a211c7SAndreas Gohr--
479*32a211c7SAndreas Gohr-- Name: timetracker_worklog; Type: TABLE; Schema: public; Owner: postgres
480*32a211c7SAndreas Gohr--
481*32a211c7SAndreas Gohr
482*32a211c7SAndreas GohrCREATE TABLE timetracker_worklog (
483*32a211c7SAndreas Gohr    id integer NOT NULL,
484*32a211c7SAndreas Gohr    time_from timestamp with time zone NOT NULL,
485*32a211c7SAndreas Gohr    time_until timestamp with time zone NOT NULL,
486*32a211c7SAndreas Gohr    description text NOT NULL,
487*32a211c7SAndreas Gohr    office_hour_rate boolean NOT NULL,
488*32a211c7SAndreas Gohr    project_id integer NOT NULL,
489*32a211c7SAndreas Gohr    user_id integer NOT NULL,
490*32a211c7SAndreas Gohr    billing_period_id integer
491*32a211c7SAndreas Gohr);
492*32a211c7SAndreas Gohr
493*32a211c7SAndreas Gohr
494*32a211c7SAndreas GohrALTER TABLE timetracker_worklog OWNER TO postgres;
495*32a211c7SAndreas Gohr
496*32a211c7SAndreas Gohr--
497*32a211c7SAndreas Gohr-- Name: timetracker_worklog_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
498*32a211c7SAndreas Gohr--
499*32a211c7SAndreas Gohr
500*32a211c7SAndreas GohrCREATE SEQUENCE timetracker_worklog_id_seq
501*32a211c7SAndreas Gohr    START WITH 1
502*32a211c7SAndreas Gohr    INCREMENT BY 1
503*32a211c7SAndreas Gohr    NO MINVALUE
504*32a211c7SAndreas Gohr    NO MAXVALUE
505*32a211c7SAndreas Gohr    CACHE 1;
506*32a211c7SAndreas Gohr
507*32a211c7SAndreas Gohr
508*32a211c7SAndreas GohrALTER TABLE timetracker_worklog_id_seq OWNER TO postgres;
509*32a211c7SAndreas Gohr
510*32a211c7SAndreas Gohr--
511*32a211c7SAndreas Gohr-- Name: timetracker_worklog_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
512*32a211c7SAndreas Gohr--
513*32a211c7SAndreas Gohr
514*32a211c7SAndreas GohrALTER SEQUENCE timetracker_worklog_id_seq OWNED BY timetracker_worklog.id;
515*32a211c7SAndreas Gohr
516*32a211c7SAndreas Gohr
517*32a211c7SAndreas Gohr--
518*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
519*32a211c7SAndreas Gohr--
520*32a211c7SAndreas Gohr
521*32a211c7SAndreas GohrALTER TABLE ONLY auth_group ALTER COLUMN id SET DEFAULT nextval('auth_group_id_seq'::regclass);
522*32a211c7SAndreas Gohr
523*32a211c7SAndreas Gohr
524*32a211c7SAndreas Gohr--
525*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
526*32a211c7SAndreas Gohr--
527*32a211c7SAndreas Gohr
528*32a211c7SAndreas GohrALTER TABLE ONLY auth_group_permissions ALTER COLUMN id SET DEFAULT nextval('auth_group_permissions_id_seq'::regclass);
529*32a211c7SAndreas Gohr
530*32a211c7SAndreas Gohr
531*32a211c7SAndreas Gohr--
532*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
533*32a211c7SAndreas Gohr--
534*32a211c7SAndreas Gohr
535*32a211c7SAndreas GohrALTER TABLE ONLY auth_permission ALTER COLUMN id SET DEFAULT nextval('auth_permission_id_seq'::regclass);
536*32a211c7SAndreas Gohr
537*32a211c7SAndreas Gohr
538*32a211c7SAndreas Gohr--
539*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
540*32a211c7SAndreas Gohr--
541*32a211c7SAndreas Gohr
542*32a211c7SAndreas GohrALTER TABLE ONLY auth_user ALTER COLUMN id SET DEFAULT nextval('auth_user_id_seq'::regclass);
543*32a211c7SAndreas Gohr
544*32a211c7SAndreas Gohr
545*32a211c7SAndreas Gohr--
546*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
547*32a211c7SAndreas Gohr--
548*32a211c7SAndreas Gohr
549*32a211c7SAndreas GohrALTER TABLE ONLY auth_user_groups ALTER COLUMN id SET DEFAULT nextval('auth_user_groups_id_seq'::regclass);
550*32a211c7SAndreas Gohr
551*32a211c7SAndreas Gohr
552*32a211c7SAndreas Gohr--
553*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
554*32a211c7SAndreas Gohr--
555*32a211c7SAndreas Gohr
556*32a211c7SAndreas GohrALTER TABLE ONLY auth_user_user_permissions ALTER COLUMN id SET DEFAULT nextval('auth_user_user_permissions_id_seq'::regclass);
557*32a211c7SAndreas Gohr
558*32a211c7SAndreas Gohr
559*32a211c7SAndreas Gohr--
560*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
561*32a211c7SAndreas Gohr--
562*32a211c7SAndreas Gohr
563*32a211c7SAndreas GohrALTER TABLE ONLY django_admin_log ALTER COLUMN id SET DEFAULT nextval('django_admin_log_id_seq'::regclass);
564*32a211c7SAndreas Gohr
565*32a211c7SAndreas Gohr
566*32a211c7SAndreas Gohr--
567*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
568*32a211c7SAndreas Gohr--
569*32a211c7SAndreas Gohr
570*32a211c7SAndreas GohrALTER TABLE ONLY django_content_type ALTER COLUMN id SET DEFAULT nextval('django_content_type_id_seq'::regclass);
571*32a211c7SAndreas Gohr
572*32a211c7SAndreas Gohr
573*32a211c7SAndreas Gohr--
574*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
575*32a211c7SAndreas Gohr--
576*32a211c7SAndreas Gohr
577*32a211c7SAndreas GohrALTER TABLE ONLY django_migrations ALTER COLUMN id SET DEFAULT nextval('django_migrations_id_seq'::regclass);
578*32a211c7SAndreas Gohr
579*32a211c7SAndreas Gohr
580*32a211c7SAndreas Gohr--
581*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
582*32a211c7SAndreas Gohr--
583*32a211c7SAndreas Gohr
584*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_billingperiod ALTER COLUMN id SET DEFAULT nextval('timetracker_billingperiod_id_seq'::regclass);
585*32a211c7SAndreas Gohr
586*32a211c7SAndreas Gohr
587*32a211c7SAndreas Gohr--
588*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
589*32a211c7SAndreas Gohr--
590*32a211c7SAndreas Gohr
591*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_project ALTER COLUMN id SET DEFAULT nextval('timetracker_project_id_seq'::regclass);
592*32a211c7SAndreas Gohr
593*32a211c7SAndreas Gohr
594*32a211c7SAndreas Gohr--
595*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
596*32a211c7SAndreas Gohr--
597*32a211c7SAndreas Gohr
598*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_project_members ALTER COLUMN id SET DEFAULT nextval('timetracker_project_members_id_seq'::regclass);
599*32a211c7SAndreas Gohr
600*32a211c7SAndreas Gohr
601*32a211c7SAndreas Gohr--
602*32a211c7SAndreas Gohr-- Name: id; Type: DEFAULT; Schema: public; Owner: postgres
603*32a211c7SAndreas Gohr--
604*32a211c7SAndreas Gohr
605*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_worklog ALTER COLUMN id SET DEFAULT nextval('timetracker_worklog_id_seq'::regclass);
606*32a211c7SAndreas Gohr
607*32a211c7SAndreas Gohr
608*32a211c7SAndreas Gohr--
609*32a211c7SAndreas Gohr-- Data for Name: auth_group; Type: TABLE DATA; Schema: public; Owner: postgres
610*32a211c7SAndreas Gohr--
611*32a211c7SAndreas Gohr
612*32a211c7SAndreas GohrINSERT INTO auth_group (id, name) VALUES (2, 'Kunden');
613*32a211c7SAndreas GohrINSERT INTO auth_group (id, name) VALUES (3, 'Projektleiter');
614*32a211c7SAndreas GohrINSERT INTO auth_group (id, name) VALUES (1, 'Mitarbeiter');
615*32a211c7SAndreas GohrINSERT INTO auth_group (id, name) VALUES (4, 'Billing');
616*32a211c7SAndreas Gohr
617*32a211c7SAndreas Gohr
618*32a211c7SAndreas Gohr--
619*32a211c7SAndreas Gohr-- Name: auth_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
620*32a211c7SAndreas Gohr--
621*32a211c7SAndreas Gohr
622*32a211c7SAndreas GohrSELECT pg_catalog.setval('auth_group_id_seq', 4, true);
623*32a211c7SAndreas Gohr
624*32a211c7SAndreas Gohr
625*32a211c7SAndreas Gohr--
626*32a211c7SAndreas Gohr-- Data for Name: auth_group_permissions; Type: TABLE DATA; Schema: public; Owner: postgres
627*32a211c7SAndreas Gohr--
628*32a211c7SAndreas Gohr
629*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (1, 4, 8);
630*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (2, 4, 7);
631*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (3, 3, 1);
632*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (4, 3, 2);
633*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (5, 3, 3);
634*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (6, 3, 4);
635*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (7, 3, 5);
636*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (8, 3, 6);
637*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (9, 1, 4);
638*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (10, 1, 5);
639*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (11, 1, 6);
640*32a211c7SAndreas GohrINSERT INTO auth_group_permissions (id, group_id, permission_id) VALUES (12, 4, 9);
641*32a211c7SAndreas Gohr
642*32a211c7SAndreas Gohr
643*32a211c7SAndreas Gohr--
644*32a211c7SAndreas Gohr-- Name: auth_group_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
645*32a211c7SAndreas Gohr--
646*32a211c7SAndreas Gohr
647*32a211c7SAndreas GohrSELECT pg_catalog.setval('auth_group_permissions_id_seq', 12, true);
648*32a211c7SAndreas Gohr
649*32a211c7SAndreas Gohr
650*32a211c7SAndreas Gohr--
651*32a211c7SAndreas Gohr-- Data for Name: auth_permission; Type: TABLE DATA; Schema: public; Owner: postgres
652*32a211c7SAndreas Gohr--
653*32a211c7SAndreas Gohr
654*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (1, 'Can add project', 1, 'add_project');
655*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (2, 'Can change project', 1, 'change_project');
656*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (3, 'Can delete project', 1, 'delete_project');
657*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (4, 'Can add work log', 2, 'add_worklog');
658*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (5, 'Can change work log', 2, 'change_worklog');
659*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (6, 'Can delete work log', 2, 'delete_worklog');
660*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (7, 'Can add billing period', 3, 'add_billingperiod');
661*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (8, 'Can change billing period', 3, 'change_billingperiod');
662*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (9, 'Can delete billing period', 3, 'delete_billingperiod');
663*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (10, 'Can add log entry', 4, 'add_logentry');
664*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (11, 'Can change log entry', 4, 'change_logentry');
665*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (12, 'Can delete log entry', 4, 'delete_logentry');
666*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (13, 'Can add permission', 5, 'add_permission');
667*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (14, 'Can change permission', 5, 'change_permission');
668*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (15, 'Can delete permission', 5, 'delete_permission');
669*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (16, 'Can add group', 6, 'add_group');
670*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (17, 'Can change group', 6, 'change_group');
671*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (18, 'Can delete group', 6, 'delete_group');
672*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (19, 'Can add user', 7, 'add_user');
673*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (20, 'Can change user', 7, 'change_user');
674*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (21, 'Can delete user', 7, 'delete_user');
675*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (22, 'Can add content type', 8, 'add_contenttype');
676*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (23, 'Can change content type', 8, 'change_contenttype');
677*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (24, 'Can delete content type', 8, 'delete_contenttype');
678*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (25, 'Can add session', 9, 'add_session');
679*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (26, 'Can change session', 9, 'change_session');
680*32a211c7SAndreas GohrINSERT INTO auth_permission (id, name, content_type_id, codename) VALUES (27, 'Can delete session', 9, 'delete_session');
681*32a211c7SAndreas Gohr
682*32a211c7SAndreas Gohr
683*32a211c7SAndreas Gohr--
684*32a211c7SAndreas Gohr-- Name: auth_permission_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
685*32a211c7SAndreas Gohr--
686*32a211c7SAndreas Gohr
687*32a211c7SAndreas GohrSELECT pg_catalog.setval('auth_permission_id_seq', 27, true);
688*32a211c7SAndreas Gohr
689*32a211c7SAndreas Gohr
690*32a211c7SAndreas Gohr--
691*32a211c7SAndreas Gohr-- Data for Name: auth_user; Type: TABLE DATA; Schema: public; Owner: postgres
692*32a211c7SAndreas Gohr--
693*32a211c7SAndreas Gohr
694*32a211c7SAndreas GohrINSERT INTO auth_user (id, password, last_login, is_superuser, username, first_name, last_name, email, is_staff, is_active, date_joined) VALUES (5, 'pbkdf2_sha256$24000$LakQQ2OOTO1v$dmUgz8V7zcpaoBSA3MV76J5a4rzrszF0NpxGx6HRBbE=', NULL, false, 'test-billing', 'Joana', 'Gröschel', 'jg@billing.com', true, true, '2016-03-07 15:58:49+01');
695*32a211c7SAndreas GohrINSERT INTO auth_user (id, password, last_login, is_superuser, username, first_name, last_name, email, is_staff, is_active, date_joined) VALUES (3, 'pbkdf2_sha256$24000$PXogIZpE4gaK$F/P/L5SRrbb6taOGEr4w6DhxjMzNAj1jEWTPyAUn8WU=', NULL, false, 'test-kunde', 'Niels', 'Buchberger', 'ng@kunde.com', false, true, '2016-03-07 15:57:52+01');
696*32a211c7SAndreas GohrINSERT INTO auth_user (id, password, last_login, is_superuser, username, first_name, last_name, email, is_staff, is_active, date_joined) VALUES (2, 'pbkdf2_sha256$24000$vtn5APnhirmB$/jzJXYvm78X8/FCOMhGUmcCy0iWhtk0L1hcBWN1AYZc=', NULL, false, 'test-mitarbeiter', 'Claus', 'Wernke', 'cw@mitarbeiter.com', false, true, '2016-03-07 15:57:23+01');
697*32a211c7SAndreas GohrINSERT INTO auth_user (id, password, last_login, is_superuser, username, first_name, last_name, email, is_staff, is_active, date_joined) VALUES (4, 'pbkdf2_sha256$24000$meyCtGKrS5Ai$vkMfMzB/yGFKplmXujgtfl3OGR27AwOQmP+YeRP6lbw=', NULL, false, 'test-projektleiter', 'Sascha', 'Weiher', 'sw@projektleiter.com', true, true, '2016-03-07 15:58:09+01');
698*32a211c7SAndreas GohrINSERT INTO auth_user (id, password, last_login, is_superuser, username, first_name, last_name, email, is_staff, is_active, date_joined) VALUES (1, 'pbkdf2_sha256$24000$M8ecC8zfqLmJ$l6cIa/Od+m56VMm9hJbdPNhTXZykPVbUGGTPx7/VRE4=', '2016-03-07 15:54:45+01', true, 'admin', 'Admin', 'Istrator', 'admin@example.com', true, true, '2016-03-07 15:54:22+01');
699*32a211c7SAndreas Gohr
700*32a211c7SAndreas Gohr
701*32a211c7SAndreas Gohr--
702*32a211c7SAndreas Gohr-- Data for Name: auth_user_groups; Type: TABLE DATA; Schema: public; Owner: postgres
703*32a211c7SAndreas Gohr--
704*32a211c7SAndreas Gohr
705*32a211c7SAndreas GohrINSERT INTO auth_user_groups (id, user_id, group_id) VALUES (1, 2, 1);
706*32a211c7SAndreas GohrINSERT INTO auth_user_groups (id, user_id, group_id) VALUES (2, 3, 2);
707*32a211c7SAndreas GohrINSERT INTO auth_user_groups (id, user_id, group_id) VALUES (3, 4, 3);
708*32a211c7SAndreas GohrINSERT INTO auth_user_groups (id, user_id, group_id) VALUES (4, 5, 4);
709*32a211c7SAndreas Gohr
710*32a211c7SAndreas Gohr
711*32a211c7SAndreas Gohr--
712*32a211c7SAndreas Gohr-- Name: auth_user_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
713*32a211c7SAndreas Gohr--
714*32a211c7SAndreas Gohr
715*32a211c7SAndreas GohrSELECT pg_catalog.setval('auth_user_groups_id_seq', 4, true);
716*32a211c7SAndreas Gohr
717*32a211c7SAndreas Gohr
718*32a211c7SAndreas Gohr--
719*32a211c7SAndreas Gohr-- Name: auth_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
720*32a211c7SAndreas Gohr--
721*32a211c7SAndreas Gohr
722*32a211c7SAndreas GohrSELECT pg_catalog.setval('auth_user_id_seq', 5, true);
723*32a211c7SAndreas Gohr
724*32a211c7SAndreas Gohr
725*32a211c7SAndreas Gohr--
726*32a211c7SAndreas Gohr-- Data for Name: auth_user_user_permissions; Type: TABLE DATA; Schema: public; Owner: postgres
727*32a211c7SAndreas Gohr--
728*32a211c7SAndreas Gohr
729*32a211c7SAndreas GohrINSERT INTO auth_user_user_permissions (id, user_id, permission_id) VALUES (1, 4, 19);
730*32a211c7SAndreas GohrINSERT INTO auth_user_user_permissions (id, user_id, permission_id) VALUES (2, 4, 20);
731*32a211c7SAndreas GohrINSERT INTO auth_user_user_permissions (id, user_id, permission_id) VALUES (3, 4, 21);
732*32a211c7SAndreas Gohr
733*32a211c7SAndreas Gohr
734*32a211c7SAndreas Gohr--
735*32a211c7SAndreas Gohr-- Name: auth_user_user_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
736*32a211c7SAndreas Gohr--
737*32a211c7SAndreas Gohr
738*32a211c7SAndreas GohrSELECT pg_catalog.setval('auth_user_user_permissions_id_seq', 3, true);
739*32a211c7SAndreas Gohr
740*32a211c7SAndreas Gohr
741*32a211c7SAndreas Gohr--
742*32a211c7SAndreas Gohr-- Data for Name: django_admin_log; Type: TABLE DATA; Schema: public; Owner: postgres
743*32a211c7SAndreas Gohr--
744*32a211c7SAndreas Gohr
745*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (1, '2016-03-07 15:54:56.300644+01', '1', 'Mitarbeiter', 1, 'Hinzugefügt.', 6, 1);
746*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (2, '2016-03-07 15:55:03.567461+01', '2', 'Kunden', 1, 'Hinzugefügt.', 6, 1);
747*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (3, '2016-03-07 15:55:12.909732+01', '3', 'Projektleiter', 1, 'Hinzugefügt.', 6, 1);
748*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (4, '2016-03-07 15:55:19.286428+01', '4', 'Billing', 1, 'Hinzugefügt.', 6, 1);
749*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (5, '2016-03-07 15:55:46.352427+01', '4', 'Billing', 2, 'permissions geändert.', 6, 1);
750*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (6, '2016-03-07 15:56:20.226365+01', '3', 'Projektleiter', 2, 'permissions geändert.', 6, 1);
751*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (7, '2016-03-07 15:56:28.990235+01', '1', 'Mitarbeiter', 2, 'permissions geändert.', 6, 1);
752*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (8, '2016-03-07 15:56:52.876303+01', '4', 'Billing', 2, 'permissions geändert.', 6, 1);
753*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (9, '2016-03-07 15:57:23.335998+01', '2', 'test-mitarbeiter', 1, 'Hinzugefügt.', 7, 1);
754*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (10, '2016-03-07 15:57:44.179275+01', '2', 'test-mitarbeiter', 2, 'groups geändert.', 7, 1);
755*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (11, '2016-03-07 15:57:52.235262+01', '3', 'test-kunde', 1, 'Hinzugefügt.', 7, 1);
756*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (12, '2016-03-07 15:57:59.05676+01', '3', 'test-kunde', 2, 'groups geändert.', 7, 1);
757*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (13, '2016-03-07 15:58:10.0047+01', '4', 'test-projektleiter', 1, 'Hinzugefügt.', 7, 1);
758*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (14, '2016-03-07 15:58:35.229359+01', '4', 'test-projektleiter', 2, 'is_staff, groups und user_permissions geändert.', 7, 1);
759*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (15, '2016-03-07 15:58:49.513774+01', '5', 'test-billing', 1, 'Hinzugefügt.', 7, 1);
760*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (16, '2016-03-07 15:58:55.398695+01', '5', 'test-billing', 2, 'is_staff und groups geändert.', 7, 1);
761*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (17, '2016-03-07 15:59:56.823546+01', '5', 'test-billing', 2, 'first_name, last_name und email geändert.', 7, 1);
762*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (18, '2016-03-07 16:00:15.718568+01', '3', 'test-kunde', 2, 'first_name, last_name und email geändert.', 7, 1);
763*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (19, '2016-03-07 16:00:37.583668+01', '2', 'test-mitarbeiter', 2, 'first_name, last_name und email geändert.', 7, 1);
764*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (20, '2016-03-07 16:00:59.426815+01', '4', 'test-projektleiter', 2, 'first_name, last_name und email geändert.', 7, 1);
765*32a211c7SAndreas GohrINSERT INTO django_admin_log (id, action_time, object_id, object_repr, action_flag, change_message, content_type_id, user_id) VALUES (21, '2016-03-07 16:01:13.440369+01', '1', 'admin', 2, 'first_name und last_name geändert.', 7, 1);
766*32a211c7SAndreas Gohr
767*32a211c7SAndreas Gohr
768*32a211c7SAndreas Gohr--
769*32a211c7SAndreas Gohr-- Name: django_admin_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
770*32a211c7SAndreas Gohr--
771*32a211c7SAndreas Gohr
772*32a211c7SAndreas GohrSELECT pg_catalog.setval('django_admin_log_id_seq', 21, true);
773*32a211c7SAndreas Gohr
774*32a211c7SAndreas Gohr
775*32a211c7SAndreas Gohr--
776*32a211c7SAndreas Gohr-- Data for Name: django_content_type; Type: TABLE DATA; Schema: public; Owner: postgres
777*32a211c7SAndreas Gohr--
778*32a211c7SAndreas Gohr
779*32a211c7SAndreas GohrINSERT INTO django_content_type (id, app_label, model) VALUES (1, 'timetracker', 'project');
780*32a211c7SAndreas GohrINSERT INTO django_content_type (id, app_label, model) VALUES (2, 'timetracker', 'worklog');
781*32a211c7SAndreas GohrINSERT INTO django_content_type (id, app_label, model) VALUES (3, 'timetracker', 'billingperiod');
782*32a211c7SAndreas GohrINSERT INTO django_content_type (id, app_label, model) VALUES (4, 'admin', 'logentry');
783*32a211c7SAndreas GohrINSERT INTO django_content_type (id, app_label, model) VALUES (5, 'auth', 'permission');
784*32a211c7SAndreas GohrINSERT INTO django_content_type (id, app_label, model) VALUES (6, 'auth', 'group');
785*32a211c7SAndreas GohrINSERT INTO django_content_type (id, app_label, model) VALUES (7, 'auth', 'user');
786*32a211c7SAndreas GohrINSERT INTO django_content_type (id, app_label, model) VALUES (8, 'contenttypes', 'contenttype');
787*32a211c7SAndreas GohrINSERT INTO django_content_type (id, app_label, model) VALUES (9, 'sessions', 'session');
788*32a211c7SAndreas Gohr
789*32a211c7SAndreas Gohr
790*32a211c7SAndreas Gohr--
791*32a211c7SAndreas Gohr-- Name: django_content_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
792*32a211c7SAndreas Gohr--
793*32a211c7SAndreas Gohr
794*32a211c7SAndreas GohrSELECT pg_catalog.setval('django_content_type_id_seq', 9, true);
795*32a211c7SAndreas Gohr
796*32a211c7SAndreas Gohr
797*32a211c7SAndreas Gohr--
798*32a211c7SAndreas Gohr-- Data for Name: django_migrations; Type: TABLE DATA; Schema: public; Owner: postgres
799*32a211c7SAndreas Gohr--
800*32a211c7SAndreas Gohr
801*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (1, 'contenttypes', '0001_initial', '2016-03-07 15:53:25.193162+01');
802*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (2, 'auth', '0001_initial', '2016-03-07 15:53:25.273474+01');
803*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (3, 'admin', '0001_initial', '2016-03-07 15:53:25.30131+01');
804*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (4, 'admin', '0002_logentry_remove_auto_add', '2016-03-07 15:53:25.319456+01');
805*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (5, 'contenttypes', '0002_remove_content_type_name', '2016-03-07 15:53:25.36513+01');
806*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (6, 'auth', '0002_alter_permission_name_max_length', '2016-03-07 15:53:25.38065+01');
807*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (7, 'auth', '0003_alter_user_email_max_length', '2016-03-07 15:53:25.398969+01');
808*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (8, 'auth', '0004_alter_user_username_opts', '2016-03-07 15:53:25.41613+01');
809*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (9, 'auth', '0005_alter_user_last_login_null', '2016-03-07 15:53:25.434578+01');
810*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (10, 'auth', '0006_require_contenttypes_0002', '2016-03-07 15:53:25.437224+01');
811*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (11, 'auth', '0007_alter_validators_add_error_messages', '2016-03-07 15:53:25.45391+01');
812*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (12, 'sessions', '0001_initial', '2016-03-07 15:53:25.46445+01');
813*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (13, 'timetracker', '0001_initial', '2016-03-07 15:53:25.530527+01');
814*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (14, 'timetracker', '0002_billingperiod', '2016-03-07 15:53:25.560994+01');
815*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (15, 'timetracker', '0003_local_datetime_fields', '2016-03-07 15:53:25.677892+01');
816*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (16, 'timetracker', '0004_worklog_billing_period', '2016-03-07 15:53:25.703913+01');
817*32a211c7SAndreas GohrINSERT INTO django_migrations (id, app, name, applied) VALUES (17, 'timetracker', '0005_billing_period_identifier_index', '2016-03-07 15:53:25.726466+01');
818*32a211c7SAndreas Gohr
819*32a211c7SAndreas Gohr
820*32a211c7SAndreas Gohr--
821*32a211c7SAndreas Gohr-- Name: django_migrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
822*32a211c7SAndreas Gohr--
823*32a211c7SAndreas Gohr
824*32a211c7SAndreas GohrSELECT pg_catalog.setval('django_migrations_id_seq', 17, true);
825*32a211c7SAndreas Gohr
826*32a211c7SAndreas Gohr
827*32a211c7SAndreas Gohr--
828*32a211c7SAndreas Gohr-- Data for Name: django_session; Type: TABLE DATA; Schema: public; Owner: postgres
829*32a211c7SAndreas Gohr--
830*32a211c7SAndreas Gohr
831*32a211c7SAndreas GohrINSERT INTO django_session (session_key, session_data, expire_date) VALUES ('lu5upc331w1hp9t6ofu5xt5asbd4k5mv', 'ODMxNDFiOGMzYTJmNGFkM2ZhZmVkOWEyMmZhMjJmMDgzNTg4ZWJlMTp7Il9hdXRoX3VzZXJfaGFzaCI6ImQxODIzNDYyYWU2ZjNiZmVmOGJkZTFlMmJiYTE3ZDkyOGQ3NDAwMTAiLCJfYXV0aF91c2VyX2JhY2tlbmQiOiJkamFuZ28uY29udHJpYi5hdXRoLmJhY2tlbmRzLk1vZGVsQmFja2VuZCIsIl9hdXRoX3VzZXJfaWQiOiIxIn0=', '2016-03-21 15:54:45.280447+01');
832*32a211c7SAndreas Gohr
833*32a211c7SAndreas Gohr
834*32a211c7SAndreas Gohr--
835*32a211c7SAndreas Gohr-- Data for Name: timetracker_billingperiod; Type: TABLE DATA; Schema: public; Owner: postgres
836*32a211c7SAndreas Gohr--
837*32a211c7SAndreas Gohr
838*32a211c7SAndreas Gohr
839*32a211c7SAndreas Gohr
840*32a211c7SAndreas Gohr--
841*32a211c7SAndreas Gohr-- Name: timetracker_billingperiod_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
842*32a211c7SAndreas Gohr--
843*32a211c7SAndreas Gohr
844*32a211c7SAndreas GohrSELECT pg_catalog.setval('timetracker_billingperiod_id_seq', 1, false);
845*32a211c7SAndreas Gohr
846*32a211c7SAndreas Gohr
847*32a211c7SAndreas Gohr--
848*32a211c7SAndreas Gohr-- Data for Name: timetracker_project; Type: TABLE DATA; Schema: public; Owner: postgres
849*32a211c7SAndreas Gohr--
850*32a211c7SAndreas Gohr
851*32a211c7SAndreas Gohr
852*32a211c7SAndreas Gohr
853*32a211c7SAndreas Gohr--
854*32a211c7SAndreas Gohr-- Name: timetracker_project_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
855*32a211c7SAndreas Gohr--
856*32a211c7SAndreas Gohr
857*32a211c7SAndreas GohrSELECT pg_catalog.setval('timetracker_project_id_seq', 1, false);
858*32a211c7SAndreas Gohr
859*32a211c7SAndreas Gohr
860*32a211c7SAndreas Gohr--
861*32a211c7SAndreas Gohr-- Data for Name: timetracker_project_members; Type: TABLE DATA; Schema: public; Owner: postgres
862*32a211c7SAndreas Gohr--
863*32a211c7SAndreas Gohr
864*32a211c7SAndreas Gohr
865*32a211c7SAndreas Gohr
866*32a211c7SAndreas Gohr--
867*32a211c7SAndreas Gohr-- Name: timetracker_project_members_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
868*32a211c7SAndreas Gohr--
869*32a211c7SAndreas Gohr
870*32a211c7SAndreas GohrSELECT pg_catalog.setval('timetracker_project_members_id_seq', 1, false);
871*32a211c7SAndreas Gohr
872*32a211c7SAndreas Gohr
873*32a211c7SAndreas Gohr--
874*32a211c7SAndreas Gohr-- Data for Name: timetracker_worklog; Type: TABLE DATA; Schema: public; Owner: postgres
875*32a211c7SAndreas Gohr--
876*32a211c7SAndreas Gohr
877*32a211c7SAndreas Gohr
878*32a211c7SAndreas Gohr
879*32a211c7SAndreas Gohr--
880*32a211c7SAndreas Gohr-- Name: timetracker_worklog_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
881*32a211c7SAndreas Gohr--
882*32a211c7SAndreas Gohr
883*32a211c7SAndreas GohrSELECT pg_catalog.setval('timetracker_worklog_id_seq', 1, false);
884*32a211c7SAndreas Gohr
885*32a211c7SAndreas Gohr
886*32a211c7SAndreas Gohr--
887*32a211c7SAndreas Gohr-- Name: auth_group_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres
888*32a211c7SAndreas Gohr--
889*32a211c7SAndreas Gohr
890*32a211c7SAndreas GohrALTER TABLE ONLY auth_group
891*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_group_name_key UNIQUE (name);
892*32a211c7SAndreas Gohr
893*32a211c7SAndreas Gohr
894*32a211c7SAndreas Gohr--
895*32a211c7SAndreas Gohr-- Name: auth_group_permissions_group_id_0cd325b0_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
896*32a211c7SAndreas Gohr--
897*32a211c7SAndreas Gohr
898*32a211c7SAndreas GohrALTER TABLE ONLY auth_group_permissions
899*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_group_permissions_group_id_0cd325b0_uniq UNIQUE (group_id, permission_id);
900*32a211c7SAndreas Gohr
901*32a211c7SAndreas Gohr
902*32a211c7SAndreas Gohr--
903*32a211c7SAndreas Gohr-- Name: auth_group_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
904*32a211c7SAndreas Gohr--
905*32a211c7SAndreas Gohr
906*32a211c7SAndreas GohrALTER TABLE ONLY auth_group_permissions
907*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_group_permissions_pkey PRIMARY KEY (id);
908*32a211c7SAndreas Gohr
909*32a211c7SAndreas Gohr
910*32a211c7SAndreas Gohr--
911*32a211c7SAndreas Gohr-- Name: auth_group_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
912*32a211c7SAndreas Gohr--
913*32a211c7SAndreas Gohr
914*32a211c7SAndreas GohrALTER TABLE ONLY auth_group
915*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_group_pkey PRIMARY KEY (id);
916*32a211c7SAndreas Gohr
917*32a211c7SAndreas Gohr
918*32a211c7SAndreas Gohr--
919*32a211c7SAndreas Gohr-- Name: auth_permission_content_type_id_01ab375a_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
920*32a211c7SAndreas Gohr--
921*32a211c7SAndreas Gohr
922*32a211c7SAndreas GohrALTER TABLE ONLY auth_permission
923*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_permission_content_type_id_01ab375a_uniq UNIQUE (content_type_id, codename);
924*32a211c7SAndreas Gohr
925*32a211c7SAndreas Gohr
926*32a211c7SAndreas Gohr--
927*32a211c7SAndreas Gohr-- Name: auth_permission_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
928*32a211c7SAndreas Gohr--
929*32a211c7SAndreas Gohr
930*32a211c7SAndreas GohrALTER TABLE ONLY auth_permission
931*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_permission_pkey PRIMARY KEY (id);
932*32a211c7SAndreas Gohr
933*32a211c7SAndreas Gohr
934*32a211c7SAndreas Gohr--
935*32a211c7SAndreas Gohr-- Name: auth_user_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
936*32a211c7SAndreas Gohr--
937*32a211c7SAndreas Gohr
938*32a211c7SAndreas GohrALTER TABLE ONLY auth_user_groups
939*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_user_groups_pkey PRIMARY KEY (id);
940*32a211c7SAndreas Gohr
941*32a211c7SAndreas Gohr
942*32a211c7SAndreas Gohr--
943*32a211c7SAndreas Gohr-- Name: auth_user_groups_user_id_94350c0c_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
944*32a211c7SAndreas Gohr--
945*32a211c7SAndreas Gohr
946*32a211c7SAndreas GohrALTER TABLE ONLY auth_user_groups
947*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_user_groups_user_id_94350c0c_uniq UNIQUE (user_id, group_id);
948*32a211c7SAndreas Gohr
949*32a211c7SAndreas Gohr
950*32a211c7SAndreas Gohr--
951*32a211c7SAndreas Gohr-- Name: auth_user_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
952*32a211c7SAndreas Gohr--
953*32a211c7SAndreas Gohr
954*32a211c7SAndreas GohrALTER TABLE ONLY auth_user
955*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_user_pkey PRIMARY KEY (id);
956*32a211c7SAndreas Gohr
957*32a211c7SAndreas Gohr
958*32a211c7SAndreas Gohr--
959*32a211c7SAndreas Gohr-- Name: auth_user_user_permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
960*32a211c7SAndreas Gohr--
961*32a211c7SAndreas Gohr
962*32a211c7SAndreas GohrALTER TABLE ONLY auth_user_user_permissions
963*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_user_user_permissions_pkey PRIMARY KEY (id);
964*32a211c7SAndreas Gohr
965*32a211c7SAndreas Gohr
966*32a211c7SAndreas Gohr--
967*32a211c7SAndreas Gohr-- Name: auth_user_user_permissions_user_id_14a6b632_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
968*32a211c7SAndreas Gohr--
969*32a211c7SAndreas Gohr
970*32a211c7SAndreas GohrALTER TABLE ONLY auth_user_user_permissions
971*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_user_user_permissions_user_id_14a6b632_uniq UNIQUE (user_id, permission_id);
972*32a211c7SAndreas Gohr
973*32a211c7SAndreas Gohr
974*32a211c7SAndreas Gohr--
975*32a211c7SAndreas Gohr-- Name: auth_user_username_key; Type: CONSTRAINT; Schema: public; Owner: postgres
976*32a211c7SAndreas Gohr--
977*32a211c7SAndreas Gohr
978*32a211c7SAndreas GohrALTER TABLE ONLY auth_user
979*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_user_username_key UNIQUE (username);
980*32a211c7SAndreas Gohr
981*32a211c7SAndreas Gohr
982*32a211c7SAndreas Gohr--
983*32a211c7SAndreas Gohr-- Name: django_admin_log_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
984*32a211c7SAndreas Gohr--
985*32a211c7SAndreas Gohr
986*32a211c7SAndreas GohrALTER TABLE ONLY django_admin_log
987*32a211c7SAndreas Gohr    ADD CONSTRAINT django_admin_log_pkey PRIMARY KEY (id);
988*32a211c7SAndreas Gohr
989*32a211c7SAndreas Gohr
990*32a211c7SAndreas Gohr--
991*32a211c7SAndreas Gohr-- Name: django_content_type_app_label_76bd3d3b_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
992*32a211c7SAndreas Gohr--
993*32a211c7SAndreas Gohr
994*32a211c7SAndreas GohrALTER TABLE ONLY django_content_type
995*32a211c7SAndreas Gohr    ADD CONSTRAINT django_content_type_app_label_76bd3d3b_uniq UNIQUE (app_label, model);
996*32a211c7SAndreas Gohr
997*32a211c7SAndreas Gohr
998*32a211c7SAndreas Gohr--
999*32a211c7SAndreas Gohr-- Name: django_content_type_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
1000*32a211c7SAndreas Gohr--
1001*32a211c7SAndreas Gohr
1002*32a211c7SAndreas GohrALTER TABLE ONLY django_content_type
1003*32a211c7SAndreas Gohr    ADD CONSTRAINT django_content_type_pkey PRIMARY KEY (id);
1004*32a211c7SAndreas Gohr
1005*32a211c7SAndreas Gohr
1006*32a211c7SAndreas Gohr--
1007*32a211c7SAndreas Gohr-- Name: django_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
1008*32a211c7SAndreas Gohr--
1009*32a211c7SAndreas Gohr
1010*32a211c7SAndreas GohrALTER TABLE ONLY django_migrations
1011*32a211c7SAndreas Gohr    ADD CONSTRAINT django_migrations_pkey PRIMARY KEY (id);
1012*32a211c7SAndreas Gohr
1013*32a211c7SAndreas Gohr
1014*32a211c7SAndreas Gohr--
1015*32a211c7SAndreas Gohr-- Name: django_session_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
1016*32a211c7SAndreas Gohr--
1017*32a211c7SAndreas Gohr
1018*32a211c7SAndreas GohrALTER TABLE ONLY django_session
1019*32a211c7SAndreas Gohr    ADD CONSTRAINT django_session_pkey PRIMARY KEY (session_key);
1020*32a211c7SAndreas Gohr
1021*32a211c7SAndreas Gohr
1022*32a211c7SAndreas Gohr--
1023*32a211c7SAndreas Gohr-- Name: timetracker_billingperiod_identifier_key; Type: CONSTRAINT; Schema: public; Owner: postgres
1024*32a211c7SAndreas Gohr--
1025*32a211c7SAndreas Gohr
1026*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_billingperiod
1027*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_billingperiod_identifier_key UNIQUE (identifier);
1028*32a211c7SAndreas Gohr
1029*32a211c7SAndreas Gohr
1030*32a211c7SAndreas Gohr--
1031*32a211c7SAndreas Gohr-- Name: timetracker_billingperiod_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
1032*32a211c7SAndreas Gohr--
1033*32a211c7SAndreas Gohr
1034*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_billingperiod
1035*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_billingperiod_pkey PRIMARY KEY (id);
1036*32a211c7SAndreas Gohr
1037*32a211c7SAndreas Gohr
1038*32a211c7SAndreas Gohr--
1039*32a211c7SAndreas Gohr-- Name: timetracker_project_members_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
1040*32a211c7SAndreas Gohr--
1041*32a211c7SAndreas Gohr
1042*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_project_members
1043*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_project_members_pkey PRIMARY KEY (id);
1044*32a211c7SAndreas Gohr
1045*32a211c7SAndreas Gohr
1046*32a211c7SAndreas Gohr--
1047*32a211c7SAndreas Gohr-- Name: timetracker_project_members_project_id_786577ed_uniq; Type: CONSTRAINT; Schema: public; Owner: postgres
1048*32a211c7SAndreas Gohr--
1049*32a211c7SAndreas Gohr
1050*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_project_members
1051*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_project_members_project_id_786577ed_uniq UNIQUE (project_id, user_id);
1052*32a211c7SAndreas Gohr
1053*32a211c7SAndreas Gohr
1054*32a211c7SAndreas Gohr--
1055*32a211c7SAndreas Gohr-- Name: timetracker_project_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres
1056*32a211c7SAndreas Gohr--
1057*32a211c7SAndreas Gohr
1058*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_project
1059*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_project_name_key UNIQUE (name);
1060*32a211c7SAndreas Gohr
1061*32a211c7SAndreas Gohr
1062*32a211c7SAndreas Gohr--
1063*32a211c7SAndreas Gohr-- Name: timetracker_project_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
1064*32a211c7SAndreas Gohr--
1065*32a211c7SAndreas Gohr
1066*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_project
1067*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_project_pkey PRIMARY KEY (id);
1068*32a211c7SAndreas Gohr
1069*32a211c7SAndreas Gohr
1070*32a211c7SAndreas Gohr--
1071*32a211c7SAndreas Gohr-- Name: timetracker_worklog_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
1072*32a211c7SAndreas Gohr--
1073*32a211c7SAndreas Gohr
1074*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_worklog
1075*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_worklog_pkey PRIMARY KEY (id);
1076*32a211c7SAndreas Gohr
1077*32a211c7SAndreas Gohr
1078*32a211c7SAndreas Gohr--
1079*32a211c7SAndreas Gohr-- Name: auth_group_name_a6ea08ec_like; Type: INDEX; Schema: public; Owner: postgres
1080*32a211c7SAndreas Gohr--
1081*32a211c7SAndreas Gohr
1082*32a211c7SAndreas GohrCREATE INDEX auth_group_name_a6ea08ec_like ON auth_group USING btree (name varchar_pattern_ops);
1083*32a211c7SAndreas Gohr
1084*32a211c7SAndreas Gohr
1085*32a211c7SAndreas Gohr--
1086*32a211c7SAndreas Gohr-- Name: auth_group_permissions_0e939a4f; Type: INDEX; Schema: public; Owner: postgres
1087*32a211c7SAndreas Gohr--
1088*32a211c7SAndreas Gohr
1089*32a211c7SAndreas GohrCREATE INDEX auth_group_permissions_0e939a4f ON auth_group_permissions USING btree (group_id);
1090*32a211c7SAndreas Gohr
1091*32a211c7SAndreas Gohr
1092*32a211c7SAndreas Gohr--
1093*32a211c7SAndreas Gohr-- Name: auth_group_permissions_8373b171; Type: INDEX; Schema: public; Owner: postgres
1094*32a211c7SAndreas Gohr--
1095*32a211c7SAndreas Gohr
1096*32a211c7SAndreas GohrCREATE INDEX auth_group_permissions_8373b171 ON auth_group_permissions USING btree (permission_id);
1097*32a211c7SAndreas Gohr
1098*32a211c7SAndreas Gohr
1099*32a211c7SAndreas Gohr--
1100*32a211c7SAndreas Gohr-- Name: auth_permission_417f1b1c; Type: INDEX; Schema: public; Owner: postgres
1101*32a211c7SAndreas Gohr--
1102*32a211c7SAndreas Gohr
1103*32a211c7SAndreas GohrCREATE INDEX auth_permission_417f1b1c ON auth_permission USING btree (content_type_id);
1104*32a211c7SAndreas Gohr
1105*32a211c7SAndreas Gohr
1106*32a211c7SAndreas Gohr--
1107*32a211c7SAndreas Gohr-- Name: auth_user_groups_0e939a4f; Type: INDEX; Schema: public; Owner: postgres
1108*32a211c7SAndreas Gohr--
1109*32a211c7SAndreas Gohr
1110*32a211c7SAndreas GohrCREATE INDEX auth_user_groups_0e939a4f ON auth_user_groups USING btree (group_id);
1111*32a211c7SAndreas Gohr
1112*32a211c7SAndreas Gohr
1113*32a211c7SAndreas Gohr--
1114*32a211c7SAndreas Gohr-- Name: auth_user_groups_e8701ad4; Type: INDEX; Schema: public; Owner: postgres
1115*32a211c7SAndreas Gohr--
1116*32a211c7SAndreas Gohr
1117*32a211c7SAndreas GohrCREATE INDEX auth_user_groups_e8701ad4 ON auth_user_groups USING btree (user_id);
1118*32a211c7SAndreas Gohr
1119*32a211c7SAndreas Gohr
1120*32a211c7SAndreas Gohr--
1121*32a211c7SAndreas Gohr-- Name: auth_user_user_permissions_8373b171; Type: INDEX; Schema: public; Owner: postgres
1122*32a211c7SAndreas Gohr--
1123*32a211c7SAndreas Gohr
1124*32a211c7SAndreas GohrCREATE INDEX auth_user_user_permissions_8373b171 ON auth_user_user_permissions USING btree (permission_id);
1125*32a211c7SAndreas Gohr
1126*32a211c7SAndreas Gohr
1127*32a211c7SAndreas Gohr--
1128*32a211c7SAndreas Gohr-- Name: auth_user_user_permissions_e8701ad4; Type: INDEX; Schema: public; Owner: postgres
1129*32a211c7SAndreas Gohr--
1130*32a211c7SAndreas Gohr
1131*32a211c7SAndreas GohrCREATE INDEX auth_user_user_permissions_e8701ad4 ON auth_user_user_permissions USING btree (user_id);
1132*32a211c7SAndreas Gohr
1133*32a211c7SAndreas Gohr
1134*32a211c7SAndreas Gohr--
1135*32a211c7SAndreas Gohr-- Name: auth_user_username_6821ab7c_like; Type: INDEX; Schema: public; Owner: postgres
1136*32a211c7SAndreas Gohr--
1137*32a211c7SAndreas Gohr
1138*32a211c7SAndreas GohrCREATE INDEX auth_user_username_6821ab7c_like ON auth_user USING btree (username varchar_pattern_ops);
1139*32a211c7SAndreas Gohr
1140*32a211c7SAndreas Gohr
1141*32a211c7SAndreas Gohr--
1142*32a211c7SAndreas Gohr-- Name: django_admin_log_417f1b1c; Type: INDEX; Schema: public; Owner: postgres
1143*32a211c7SAndreas Gohr--
1144*32a211c7SAndreas Gohr
1145*32a211c7SAndreas GohrCREATE INDEX django_admin_log_417f1b1c ON django_admin_log USING btree (content_type_id);
1146*32a211c7SAndreas Gohr
1147*32a211c7SAndreas Gohr
1148*32a211c7SAndreas Gohr--
1149*32a211c7SAndreas Gohr-- Name: django_admin_log_e8701ad4; Type: INDEX; Schema: public; Owner: postgres
1150*32a211c7SAndreas Gohr--
1151*32a211c7SAndreas Gohr
1152*32a211c7SAndreas GohrCREATE INDEX django_admin_log_e8701ad4 ON django_admin_log USING btree (user_id);
1153*32a211c7SAndreas Gohr
1154*32a211c7SAndreas Gohr
1155*32a211c7SAndreas Gohr--
1156*32a211c7SAndreas Gohr-- Name: django_session_de54fa62; Type: INDEX; Schema: public; Owner: postgres
1157*32a211c7SAndreas Gohr--
1158*32a211c7SAndreas Gohr
1159*32a211c7SAndreas GohrCREATE INDEX django_session_de54fa62 ON django_session USING btree (expire_date);
1160*32a211c7SAndreas Gohr
1161*32a211c7SAndreas Gohr
1162*32a211c7SAndreas Gohr--
1163*32a211c7SAndreas Gohr-- Name: django_session_session_key_c0390e0f_like; Type: INDEX; Schema: public; Owner: postgres
1164*32a211c7SAndreas Gohr--
1165*32a211c7SAndreas Gohr
1166*32a211c7SAndreas GohrCREATE INDEX django_session_session_key_c0390e0f_like ON django_session USING btree (session_key varchar_pattern_ops);
1167*32a211c7SAndreas Gohr
1168*32a211c7SAndreas Gohr
1169*32a211c7SAndreas Gohr--
1170*32a211c7SAndreas Gohr-- Name: timetracker_billingperiod_b098ad43; Type: INDEX; Schema: public; Owner: postgres
1171*32a211c7SAndreas Gohr--
1172*32a211c7SAndreas Gohr
1173*32a211c7SAndreas GohrCREATE INDEX timetracker_billingperiod_b098ad43 ON timetracker_billingperiod USING btree (project_id);
1174*32a211c7SAndreas Gohr
1175*32a211c7SAndreas Gohr
1176*32a211c7SAndreas Gohr--
1177*32a211c7SAndreas Gohr-- Name: timetracker_billingperiod_identifier_8432361f_like; Type: INDEX; Schema: public; Owner: postgres
1178*32a211c7SAndreas Gohr--
1179*32a211c7SAndreas Gohr
1180*32a211c7SAndreas GohrCREATE INDEX timetracker_billingperiod_identifier_8432361f_like ON timetracker_billingperiod USING btree (identifier varchar_pattern_ops);
1181*32a211c7SAndreas Gohr
1182*32a211c7SAndreas Gohr
1183*32a211c7SAndreas Gohr--
1184*32a211c7SAndreas Gohr-- Name: timetracker_project_members_b098ad43; Type: INDEX; Schema: public; Owner: postgres
1185*32a211c7SAndreas Gohr--
1186*32a211c7SAndreas Gohr
1187*32a211c7SAndreas GohrCREATE INDEX timetracker_project_members_b098ad43 ON timetracker_project_members USING btree (project_id);
1188*32a211c7SAndreas Gohr
1189*32a211c7SAndreas Gohr
1190*32a211c7SAndreas Gohr--
1191*32a211c7SAndreas Gohr-- Name: timetracker_project_members_e8701ad4; Type: INDEX; Schema: public; Owner: postgres
1192*32a211c7SAndreas Gohr--
1193*32a211c7SAndreas Gohr
1194*32a211c7SAndreas GohrCREATE INDEX timetracker_project_members_e8701ad4 ON timetracker_project_members USING btree (user_id);
1195*32a211c7SAndreas Gohr
1196*32a211c7SAndreas Gohr
1197*32a211c7SAndreas Gohr--
1198*32a211c7SAndreas Gohr-- Name: timetracker_project_name_daf0136a_like; Type: INDEX; Schema: public; Owner: postgres
1199*32a211c7SAndreas Gohr--
1200*32a211c7SAndreas Gohr
1201*32a211c7SAndreas GohrCREATE INDEX timetracker_project_name_daf0136a_like ON timetracker_project USING btree (name varchar_pattern_ops);
1202*32a211c7SAndreas Gohr
1203*32a211c7SAndreas Gohr
1204*32a211c7SAndreas Gohr--
1205*32a211c7SAndreas Gohr-- Name: timetracker_worklog_3c1a7956; Type: INDEX; Schema: public; Owner: postgres
1206*32a211c7SAndreas Gohr--
1207*32a211c7SAndreas Gohr
1208*32a211c7SAndreas GohrCREATE INDEX timetracker_worklog_3c1a7956 ON timetracker_worklog USING btree (billing_period_id);
1209*32a211c7SAndreas Gohr
1210*32a211c7SAndreas Gohr
1211*32a211c7SAndreas Gohr--
1212*32a211c7SAndreas Gohr-- Name: timetracker_worklog_b098ad43; Type: INDEX; Schema: public; Owner: postgres
1213*32a211c7SAndreas Gohr--
1214*32a211c7SAndreas Gohr
1215*32a211c7SAndreas GohrCREATE INDEX timetracker_worklog_b098ad43 ON timetracker_worklog USING btree (project_id);
1216*32a211c7SAndreas Gohr
1217*32a211c7SAndreas Gohr
1218*32a211c7SAndreas Gohr--
1219*32a211c7SAndreas Gohr-- Name: timetracker_worklog_e8701ad4; Type: INDEX; Schema: public; Owner: postgres
1220*32a211c7SAndreas Gohr--
1221*32a211c7SAndreas Gohr
1222*32a211c7SAndreas GohrCREATE INDEX timetracker_worklog_e8701ad4 ON timetracker_worklog USING btree (user_id);
1223*32a211c7SAndreas Gohr
1224*32a211c7SAndreas Gohr
1225*32a211c7SAndreas Gohr--
1226*32a211c7SAndreas Gohr-- Name: auth_group_permiss_permission_id_84c5c92e_fk_auth_permission_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1227*32a211c7SAndreas Gohr--
1228*32a211c7SAndreas Gohr
1229*32a211c7SAndreas GohrALTER TABLE ONLY auth_group_permissions
1230*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_group_permiss_permission_id_84c5c92e_fk_auth_permission_id FOREIGN KEY (permission_id) REFERENCES auth_permission(id) DEFERRABLE INITIALLY DEFERRED;
1231*32a211c7SAndreas Gohr
1232*32a211c7SAndreas Gohr
1233*32a211c7SAndreas Gohr--
1234*32a211c7SAndreas Gohr-- Name: auth_group_permissions_group_id_b120cbf9_fk_auth_group_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1235*32a211c7SAndreas Gohr--
1236*32a211c7SAndreas Gohr
1237*32a211c7SAndreas GohrALTER TABLE ONLY auth_group_permissions
1238*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_group_permissions_group_id_b120cbf9_fk_auth_group_id FOREIGN KEY (group_id) REFERENCES auth_group(id) DEFERRABLE INITIALLY DEFERRED;
1239*32a211c7SAndreas Gohr
1240*32a211c7SAndreas Gohr
1241*32a211c7SAndreas Gohr--
1242*32a211c7SAndreas Gohr-- Name: auth_permiss_content_type_id_2f476e4b_fk_django_content_type_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1243*32a211c7SAndreas Gohr--
1244*32a211c7SAndreas Gohr
1245*32a211c7SAndreas GohrALTER TABLE ONLY auth_permission
1246*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_permiss_content_type_id_2f476e4b_fk_django_content_type_id FOREIGN KEY (content_type_id) REFERENCES django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
1247*32a211c7SAndreas Gohr
1248*32a211c7SAndreas Gohr
1249*32a211c7SAndreas Gohr--
1250*32a211c7SAndreas Gohr-- Name: auth_user_groups_group_id_97559544_fk_auth_group_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1251*32a211c7SAndreas Gohr--
1252*32a211c7SAndreas Gohr
1253*32a211c7SAndreas GohrALTER TABLE ONLY auth_user_groups
1254*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_user_groups_group_id_97559544_fk_auth_group_id FOREIGN KEY (group_id) REFERENCES auth_group(id) DEFERRABLE INITIALLY DEFERRED;
1255*32a211c7SAndreas Gohr
1256*32a211c7SAndreas Gohr
1257*32a211c7SAndreas Gohr--
1258*32a211c7SAndreas Gohr-- Name: auth_user_groups_user_id_6a12ed8b_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1259*32a211c7SAndreas Gohr--
1260*32a211c7SAndreas Gohr
1261*32a211c7SAndreas GohrALTER TABLE ONLY auth_user_groups
1262*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_user_groups_user_id_6a12ed8b_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1263*32a211c7SAndreas Gohr
1264*32a211c7SAndreas Gohr
1265*32a211c7SAndreas Gohr--
1266*32a211c7SAndreas Gohr-- Name: auth_user_user_per_permission_id_1fbb5f2c_fk_auth_permission_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1267*32a211c7SAndreas Gohr--
1268*32a211c7SAndreas Gohr
1269*32a211c7SAndreas GohrALTER TABLE ONLY auth_user_user_permissions
1270*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_user_user_per_permission_id_1fbb5f2c_fk_auth_permission_id FOREIGN KEY (permission_id) REFERENCES auth_permission(id) DEFERRABLE INITIALLY DEFERRED;
1271*32a211c7SAndreas Gohr
1272*32a211c7SAndreas Gohr
1273*32a211c7SAndreas Gohr--
1274*32a211c7SAndreas Gohr-- Name: auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1275*32a211c7SAndreas Gohr--
1276*32a211c7SAndreas Gohr
1277*32a211c7SAndreas GohrALTER TABLE ONLY auth_user_user_permissions
1278*32a211c7SAndreas Gohr    ADD CONSTRAINT auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1279*32a211c7SAndreas Gohr
1280*32a211c7SAndreas Gohr
1281*32a211c7SAndreas Gohr--
1282*32a211c7SAndreas Gohr-- Name: django_admin_content_type_id_c4bce8eb_fk_django_content_type_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1283*32a211c7SAndreas Gohr--
1284*32a211c7SAndreas Gohr
1285*32a211c7SAndreas GohrALTER TABLE ONLY django_admin_log
1286*32a211c7SAndreas Gohr    ADD CONSTRAINT django_admin_content_type_id_c4bce8eb_fk_django_content_type_id FOREIGN KEY (content_type_id) REFERENCES django_content_type(id) DEFERRABLE INITIALLY DEFERRED;
1287*32a211c7SAndreas Gohr
1288*32a211c7SAndreas Gohr
1289*32a211c7SAndreas Gohr--
1290*32a211c7SAndreas Gohr-- Name: django_admin_log_user_id_c564eba6_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1291*32a211c7SAndreas Gohr--
1292*32a211c7SAndreas Gohr
1293*32a211c7SAndreas GohrALTER TABLE ONLY django_admin_log
1294*32a211c7SAndreas Gohr    ADD CONSTRAINT django_admin_log_user_id_c564eba6_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1295*32a211c7SAndreas Gohr
1296*32a211c7SAndreas Gohr
1297*32a211c7SAndreas Gohr--
1298*32a211c7SAndreas Gohr-- Name: time_billing_period_id_c4b944d1_fk_timetracker_billingperiod_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1299*32a211c7SAndreas Gohr--
1300*32a211c7SAndreas Gohr
1301*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_worklog
1302*32a211c7SAndreas Gohr    ADD CONSTRAINT time_billing_period_id_c4b944d1_fk_timetracker_billingperiod_id FOREIGN KEY (billing_period_id) REFERENCES timetracker_billingperiod(id) DEFERRABLE INITIALLY DEFERRED;
1303*32a211c7SAndreas Gohr
1304*32a211c7SAndreas Gohr
1305*32a211c7SAndreas Gohr--
1306*32a211c7SAndreas Gohr-- Name: timetracker_billi_project_id_8dd7b2e2_fk_timetracker_project_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1307*32a211c7SAndreas Gohr--
1308*32a211c7SAndreas Gohr
1309*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_billingperiod
1310*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_billi_project_id_8dd7b2e2_fk_timetracker_project_id FOREIGN KEY (project_id) REFERENCES timetracker_project(id) DEFERRABLE INITIALLY DEFERRED;
1311*32a211c7SAndreas Gohr
1312*32a211c7SAndreas Gohr
1313*32a211c7SAndreas Gohr--
1314*32a211c7SAndreas Gohr-- Name: timetracker_proje_project_id_85632ed8_fk_timetracker_project_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1315*32a211c7SAndreas Gohr--
1316*32a211c7SAndreas Gohr
1317*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_project_members
1318*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_proje_project_id_85632ed8_fk_timetracker_project_id FOREIGN KEY (project_id) REFERENCES timetracker_project(id) DEFERRABLE INITIALLY DEFERRED;
1319*32a211c7SAndreas Gohr
1320*32a211c7SAndreas Gohr
1321*32a211c7SAndreas Gohr--
1322*32a211c7SAndreas Gohr-- Name: timetracker_project_members_user_id_62b48c3e_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1323*32a211c7SAndreas Gohr--
1324*32a211c7SAndreas Gohr
1325*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_project_members
1326*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_project_members_user_id_62b48c3e_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1327*32a211c7SAndreas Gohr
1328*32a211c7SAndreas Gohr
1329*32a211c7SAndreas Gohr--
1330*32a211c7SAndreas Gohr-- Name: timetracker_workl_project_id_69fa76d5_fk_timetracker_project_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1331*32a211c7SAndreas Gohr--
1332*32a211c7SAndreas Gohr
1333*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_worklog
1334*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_workl_project_id_69fa76d5_fk_timetracker_project_id FOREIGN KEY (project_id) REFERENCES timetracker_project(id) DEFERRABLE INITIALLY DEFERRED;
1335*32a211c7SAndreas Gohr
1336*32a211c7SAndreas Gohr
1337*32a211c7SAndreas Gohr--
1338*32a211c7SAndreas Gohr-- Name: timetracker_worklog_user_id_c74c8c68_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres
1339*32a211c7SAndreas Gohr--
1340*32a211c7SAndreas Gohr
1341*32a211c7SAndreas GohrALTER TABLE ONLY timetracker_worklog
1342*32a211c7SAndreas Gohr    ADD CONSTRAINT timetracker_worklog_user_id_c74c8c68_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED;
1343*32a211c7SAndreas Gohr
1344*32a211c7SAndreas Gohr
1345*32a211c7SAndreas Gohr--
1346*32a211c7SAndreas Gohr-- Name: public; Type: ACL; Schema: -; Owner: postgres
1347*32a211c7SAndreas Gohr--
1348*32a211c7SAndreas Gohr
1349*32a211c7SAndreas GohrREVOKE ALL ON SCHEMA public FROM PUBLIC;
1350*32a211c7SAndreas GohrREVOKE ALL ON SCHEMA public FROM postgres;
1351*32a211c7SAndreas GohrGRANT ALL ON SCHEMA public TO postgres;
1352*32a211c7SAndreas GohrGRANT ALL ON SCHEMA public TO PUBLIC;
1353*32a211c7SAndreas Gohr
1354*32a211c7SAndreas Gohr
1355*32a211c7SAndreas Gohr--
1356*32a211c7SAndreas Gohr-- PostgreSQL database dump complete
1357*32a211c7SAndreas Gohr--
1358*32a211c7SAndreas Gohr
1359