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