-
Notifications
You must be signed in to change notification settings - Fork 0
/
xo.txt
5727 lines (4121 loc) · 163 KB
/
xo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--
-- PostgreSQL database dump
--
-- Started on 2013-11-22 03:58:45 VET
SET statement_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = off;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET escape_string_warning = off;
--
-- TOC entry 808 (class 2612 OID 16578)
-- Name: plpgsql; Type: PROCEDURAL LANGUAGE; Schema: -; Owner: j30
--
CREATE PROCEDURAL LANGUAGE plpgsql;
ALTER PROCEDURAL LANGUAGE plpgsql OWNER TO j30;
SET search_path = public, pg_catalog;
--
-- TOC entry 255 (class 1255 OID 17694)
-- Dependencies: 808 3
-- Name: soundex(text); Type: FUNCTION; Schema: public; Owner: j30
--
CREATE FUNCTION soundex(input text) RETURNS text
LANGUAGE plpgsql IMMUTABLE STRICT COST 500
AS $$
DECLARE
soundex text = '';
char text;
symbol text;
last_symbol text = '';
pos int = 1;
BEGIN
WHILE length(soundex) < 4 LOOP
char = upper(substr(input, pos, 1));
pos = pos + 1;
CASE char
WHEN '' THEN
-- End of input string
IF soundex = '' THEN
RETURN '';
ELSE
RETURN rpad(soundex, 4, '0');
END IF;
WHEN 'B', 'F', 'P', 'V' THEN
symbol = '1';
WHEN 'C', 'G', 'J', 'K', 'Q', 'S', 'X', 'Z' THEN
symbol = '2';
WHEN 'D', 'T' THEN
symbol = '3';
WHEN 'L' THEN
symbol = '4';
WHEN 'M', 'N' THEN
symbol = '5';
WHEN 'R' THEN
symbol = '6';
ELSE
-- Not a consonant; no output, but next similar consonant will be re-recorded
symbol = '';
END CASE;
IF soundex = '' THEN
-- First character; only accept strictly English ASCII characters
IF char ~>=~ 'A' AND char ~<=~ 'Z' THEN
soundex = char;
last_symbol = symbol;
END IF;
ELSIF last_symbol != symbol THEN
soundex = soundex || symbol;
last_symbol = symbol;
END IF;
END LOOP;
RETURN soundex;
END;
$$;
ALTER FUNCTION public.soundex(input text) OWNER TO j30;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- TOC entry 141 (class 1259 OID 16581)
-- Dependencies: 2140 2141 2142 3
-- Name: xfv02_assets; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_assets (
id integer NOT NULL,
parent_id bigint DEFAULT 0 NOT NULL,
lft bigint DEFAULT 0 NOT NULL,
rgt bigint DEFAULT 0 NOT NULL,
level integer NOT NULL,
name character varying(50) NOT NULL,
title character varying(100) NOT NULL,
rules character varying(5120) NOT NULL
);
ALTER TABLE public.xfv02_assets OWNER TO j30;
--
-- TOC entry 2895 (class 0 OID 0)
-- Dependencies: 141
-- Name: COLUMN xfv02_assets.id; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_assets.id IS 'Primary Key';
--
-- TOC entry 2896 (class 0 OID 0)
-- Dependencies: 141
-- Name: COLUMN xfv02_assets.parent_id; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_assets.parent_id IS 'Nested set parent.';
--
-- TOC entry 2897 (class 0 OID 0)
-- Dependencies: 141
-- Name: COLUMN xfv02_assets.lft; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_assets.lft IS 'Nested set lft.';
--
-- TOC entry 2898 (class 0 OID 0)
-- Dependencies: 141
-- Name: COLUMN xfv02_assets.rgt; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_assets.rgt IS 'Nested set rgt.';
--
-- TOC entry 2899 (class 0 OID 0)
-- Dependencies: 141
-- Name: COLUMN xfv02_assets.level; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_assets.level IS 'The cached level in the nested tree.';
--
-- TOC entry 2900 (class 0 OID 0)
-- Dependencies: 141
-- Name: COLUMN xfv02_assets.name; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_assets.name IS 'The unique name for the asset.';
--
-- TOC entry 2901 (class 0 OID 0)
-- Dependencies: 141
-- Name: COLUMN xfv02_assets.title; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_assets.title IS 'The descriptive title for the asset.';
--
-- TOC entry 2902 (class 0 OID 0)
-- Dependencies: 141
-- Name: COLUMN xfv02_assets.rules; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_assets.rules IS 'JSON encoded access control.';
--
-- TOC entry 140 (class 1259 OID 16579)
-- Dependencies: 141 3
-- Name: xfv02_assets_id_seq; Type: SEQUENCE; Schema: public; Owner: j30
--
CREATE SEQUENCE xfv02_assets_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
ALTER TABLE public.xfv02_assets_id_seq OWNER TO j30;
--
-- TOC entry 2903 (class 0 OID 0)
-- Dependencies: 140
-- Name: xfv02_assets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: j30
--
ALTER SEQUENCE xfv02_assets_id_seq OWNED BY xfv02_assets.id;
--
-- TOC entry 142 (class 1259 OID 16597)
-- Dependencies: 3
-- Name: xfv02_associations; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_associations (
id bigint NOT NULL,
context character varying(50) NOT NULL,
key character(32) NOT NULL
);
ALTER TABLE public.xfv02_associations OWNER TO j30;
--
-- TOC entry 2904 (class 0 OID 0)
-- Dependencies: 142
-- Name: COLUMN xfv02_associations.id; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_associations.id IS 'A reference to the associated item.';
--
-- TOC entry 2905 (class 0 OID 0)
-- Dependencies: 142
-- Name: COLUMN xfv02_associations.context; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_associations.context IS 'The context of the associated item.';
--
-- TOC entry 2906 (class 0 OID 0)
-- Dependencies: 142
-- Name: COLUMN xfv02_associations.key; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_associations.key IS 'The key for the association computed from an md5 on associated ids.';
--
-- TOC entry 146 (class 1259 OID 16650)
-- Dependencies: 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 3
-- Name: xfv02_banner_clients; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_banner_clients (
id integer NOT NULL,
name character varying(255) DEFAULT ''::character varying NOT NULL,
contact character varying(255) DEFAULT ''::character varying NOT NULL,
email character varying(255) DEFAULT ''::character varying NOT NULL,
extrainfo text NOT NULL,
state smallint DEFAULT 0 NOT NULL,
checked_out bigint DEFAULT 0 NOT NULL,
checked_out_time timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
metakey text NOT NULL,
own_prefix smallint DEFAULT 0 NOT NULL,
metakey_prefix character varying(255) DEFAULT ''::character varying NOT NULL,
purchase_type smallint DEFAULT (-1) NOT NULL,
track_clicks smallint DEFAULT (-1) NOT NULL,
track_impressions smallint DEFAULT (-1) NOT NULL
);
ALTER TABLE public.xfv02_banner_clients OWNER TO j30;
--
-- TOC entry 145 (class 1259 OID 16648)
-- Dependencies: 146 3
-- Name: xfv02_banner_clients_id_seq; Type: SEQUENCE; Schema: public; Owner: j30
--
CREATE SEQUENCE xfv02_banner_clients_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
ALTER TABLE public.xfv02_banner_clients_id_seq OWNER TO j30;
--
-- TOC entry 2907 (class 0 OID 0)
-- Dependencies: 145
-- Name: xfv02_banner_clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: j30
--
ALTER SEQUENCE xfv02_banner_clients_id_seq OWNED BY xfv02_banner_clients.id;
--
-- TOC entry 147 (class 1259 OID 16672)
-- Dependencies: 2185 3
-- Name: xfv02_banner_tracks; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_banner_tracks (
track_date timestamp without time zone NOT NULL,
track_type bigint NOT NULL,
banner_id bigint NOT NULL,
count bigint DEFAULT 0 NOT NULL
);
ALTER TABLE public.xfv02_banner_tracks OWNER TO j30;
--
-- TOC entry 144 (class 1259 OID 16605)
-- Dependencies: 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 3
-- Name: xfv02_banners; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_banners (
id integer NOT NULL,
cid bigint DEFAULT 0 NOT NULL,
type bigint DEFAULT 0 NOT NULL,
name character varying(255) DEFAULT ''::character varying NOT NULL,
alias character varying(255) DEFAULT ''::character varying NOT NULL,
imptotal bigint DEFAULT 0 NOT NULL,
impmade bigint DEFAULT 0 NOT NULL,
clicks bigint DEFAULT 0 NOT NULL,
clickurl character varying(200) DEFAULT ''::character varying NOT NULL,
state smallint DEFAULT 0 NOT NULL,
catid bigint DEFAULT 0 NOT NULL,
description text NOT NULL,
custombannercode character varying(2048) NOT NULL,
sticky smallint DEFAULT 0 NOT NULL,
ordering bigint DEFAULT 0 NOT NULL,
metakey text NOT NULL,
params text NOT NULL,
own_prefix smallint DEFAULT 0 NOT NULL,
metakey_prefix character varying(255) DEFAULT ''::character varying NOT NULL,
purchase_type smallint DEFAULT (-1) NOT NULL,
track_clicks smallint DEFAULT (-1) NOT NULL,
track_impressions smallint DEFAULT (-1) NOT NULL,
checked_out bigint DEFAULT 0 NOT NULL,
checked_out_time timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
publish_up timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
publish_down timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
reset timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
created timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
language character varying(7) DEFAULT ''::character varying NOT NULL,
created_by bigint DEFAULT 0 NOT NULL,
created_by_alias character varying(255) DEFAULT ''::character varying NOT NULL,
modified timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
modified_by bigint DEFAULT 0 NOT NULL,
version bigint DEFAULT 1 NOT NULL
);
ALTER TABLE public.xfv02_banners OWNER TO j30;
--
-- TOC entry 143 (class 1259 OID 16603)
-- Dependencies: 144 3
-- Name: xfv02_banners_id_seq; Type: SEQUENCE; Schema: public; Owner: j30
--
CREATE SEQUENCE xfv02_banners_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
ALTER TABLE public.xfv02_banners_id_seq OWNER TO j30;
--
-- TOC entry 2908 (class 0 OID 0)
-- Dependencies: 143
-- Name: xfv02_banners_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: j30
--
ALTER SEQUENCE xfv02_banners_id_seq OWNED BY xfv02_banners.id;
--
-- TOC entry 149 (class 1259 OID 16683)
-- Dependencies: 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 3
-- Name: xfv02_categories; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_categories (
id integer NOT NULL,
asset_id bigint DEFAULT 0 NOT NULL,
parent_id integer DEFAULT 0 NOT NULL,
lft bigint DEFAULT 0 NOT NULL,
rgt bigint DEFAULT 0 NOT NULL,
level integer DEFAULT 0 NOT NULL,
path character varying(255) DEFAULT ''::character varying NOT NULL,
extension character varying(50) DEFAULT ''::character varying NOT NULL,
title character varying(255) NOT NULL,
alias character varying(255) DEFAULT ''::character varying NOT NULL,
note character varying(255) DEFAULT ''::character varying NOT NULL,
description text DEFAULT ''::text NOT NULL,
published smallint DEFAULT 0 NOT NULL,
checked_out bigint DEFAULT 0 NOT NULL,
checked_out_time timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
access bigint DEFAULT 0 NOT NULL,
params text NOT NULL,
metadesc character varying(1024) NOT NULL,
metakey character varying(1024) NOT NULL,
metadata character varying(2048) NOT NULL,
created_user_id integer DEFAULT 0 NOT NULL,
created_time timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
modified_user_id integer DEFAULT 0 NOT NULL,
modified_time timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
hits integer DEFAULT 0 NOT NULL,
language character varying(7) DEFAULT ''::character varying NOT NULL,
version bigint DEFAULT 1 NOT NULL
);
ALTER TABLE public.xfv02_categories OWNER TO j30;
--
-- TOC entry 2909 (class 0 OID 0)
-- Dependencies: 149
-- Name: COLUMN xfv02_categories.asset_id; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_categories.asset_id IS 'FK to the #__assets table.';
--
-- TOC entry 2910 (class 0 OID 0)
-- Dependencies: 149
-- Name: COLUMN xfv02_categories.metadesc; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_categories.metadesc IS 'The meta description for the page.';
--
-- TOC entry 2911 (class 0 OID 0)
-- Dependencies: 149
-- Name: COLUMN xfv02_categories.metakey; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_categories.metakey IS 'The meta keywords for the page.';
--
-- TOC entry 2912 (class 0 OID 0)
-- Dependencies: 149
-- Name: COLUMN xfv02_categories.metadata; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_categories.metadata IS 'JSON encoded metadata properties.';
--
-- TOC entry 148 (class 1259 OID 16681)
-- Dependencies: 149 3
-- Name: xfv02_categories_id_seq; Type: SEQUENCE; Schema: public; Owner: j30
--
CREATE SEQUENCE xfv02_categories_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
ALTER TABLE public.xfv02_categories_id_seq OWNER TO j30;
--
-- TOC entry 2913 (class 0 OID 0)
-- Dependencies: 148
-- Name: xfv02_categories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: j30
--
ALTER SEQUENCE xfv02_categories_id_seq OWNED BY xfv02_categories.id;
--
-- TOC entry 151 (class 1259 OID 16722)
-- Dependencies: 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 3
-- Name: xfv02_contact_details; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_contact_details (
id integer NOT NULL,
name character varying(255) DEFAULT ''::character varying NOT NULL,
alias character varying(255) DEFAULT ''::character varying NOT NULL,
con_position character varying(255) DEFAULT NULL::character varying,
address text,
suburb character varying(100) DEFAULT NULL::character varying,
state character varying(100) DEFAULT NULL::character varying,
country character varying(100) DEFAULT NULL::character varying,
postcode character varying(100) DEFAULT NULL::character varying,
telephone character varying(255) DEFAULT NULL::character varying,
fax character varying(255) DEFAULT NULL::character varying,
misc text,
image character varying(255) DEFAULT NULL::character varying,
email_to character varying(255) DEFAULT NULL::character varying,
default_con smallint DEFAULT 0 NOT NULL,
published smallint DEFAULT 0 NOT NULL,
checked_out bigint DEFAULT 0 NOT NULL,
checked_out_time timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
ordering bigint DEFAULT 0 NOT NULL,
params text NOT NULL,
user_id bigint DEFAULT 0 NOT NULL,
catid bigint DEFAULT 0 NOT NULL,
access bigint DEFAULT 0 NOT NULL,
mobile character varying(255) DEFAULT ''::character varying NOT NULL,
webpage character varying(255) DEFAULT ''::character varying NOT NULL,
sortname1 character varying(255) NOT NULL,
sortname2 character varying(255) NOT NULL,
sortname3 character varying(255) NOT NULL,
language character varying(7) DEFAULT ''::character varying NOT NULL,
created timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
created_by integer DEFAULT 0 NOT NULL,
created_by_alias character varying(255) DEFAULT ''::character varying NOT NULL,
modified timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
modified_by integer DEFAULT 0 NOT NULL,
metakey text NOT NULL,
metadesc text NOT NULL,
metadata text NOT NULL,
featured smallint DEFAULT 0 NOT NULL,
xreference character varying(50) NOT NULL,
publish_up timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
publish_down timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
version bigint DEFAULT 1 NOT NULL,
hits bigint DEFAULT 0 NOT NULL
);
ALTER TABLE public.xfv02_contact_details OWNER TO j30;
--
-- TOC entry 2914 (class 0 OID 0)
-- Dependencies: 151
-- Name: COLUMN xfv02_contact_details.featured; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_contact_details.featured IS 'Set if article is featured.';
--
-- TOC entry 2915 (class 0 OID 0)
-- Dependencies: 151
-- Name: COLUMN xfv02_contact_details.xreference; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_contact_details.xreference IS 'A reference to enable linkages to external data sets.';
--
-- TOC entry 150 (class 1259 OID 16720)
-- Dependencies: 3 151
-- Name: xfv02_contact_details_id_seq; Type: SEQUENCE; Schema: public; Owner: j30
--
CREATE SEQUENCE xfv02_contact_details_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
ALTER TABLE public.xfv02_contact_details_id_seq OWNER TO j30;
--
-- TOC entry 2916 (class 0 OID 0)
-- Dependencies: 150
-- Name: xfv02_contact_details_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: j30
--
ALTER SEQUENCE xfv02_contact_details_id_seq OWNED BY xfv02_contact_details.id;
--
-- TOC entry 153 (class 1259 OID 16773)
-- Dependencies: 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 3
-- Name: xfv02_content; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_content (
id integer NOT NULL,
asset_id bigint DEFAULT 0 NOT NULL,
title character varying(255) DEFAULT ''::character varying NOT NULL,
alias character varying(255) DEFAULT ''::character varying NOT NULL,
introtext text NOT NULL,
fulltext text NOT NULL,
state smallint DEFAULT 0 NOT NULL,
catid bigint DEFAULT 0 NOT NULL,
created timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
created_by bigint DEFAULT 0 NOT NULL,
created_by_alias character varying(255) DEFAULT ''::character varying NOT NULL,
modified timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
modified_by bigint DEFAULT 0 NOT NULL,
checked_out bigint DEFAULT 0 NOT NULL,
checked_out_time timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
publish_up timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
publish_down timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
images text NOT NULL,
urls text NOT NULL,
attribs character varying(5120) NOT NULL,
version bigint DEFAULT 1 NOT NULL,
ordering bigint DEFAULT 0 NOT NULL,
metakey text NOT NULL,
metadesc text NOT NULL,
access bigint DEFAULT 0 NOT NULL,
hits bigint DEFAULT 0 NOT NULL,
metadata text NOT NULL,
featured smallint DEFAULT 0 NOT NULL,
language character varying(7) DEFAULT ''::character varying NOT NULL,
xreference character varying(50) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE public.xfv02_content OWNER TO j30;
--
-- TOC entry 2917 (class 0 OID 0)
-- Dependencies: 153
-- Name: COLUMN xfv02_content.asset_id; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_content.asset_id IS 'FK to the #__assets table.';
--
-- TOC entry 2918 (class 0 OID 0)
-- Dependencies: 153
-- Name: COLUMN xfv02_content.featured; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_content.featured IS 'Set if article is featured.';
--
-- TOC entry 2919 (class 0 OID 0)
-- Dependencies: 153
-- Name: COLUMN xfv02_content.language; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_content.language IS 'The language code for the article.';
--
-- TOC entry 2920 (class 0 OID 0)
-- Dependencies: 153
-- Name: COLUMN xfv02_content.xreference; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_content.xreference IS 'A reference to enable linkages to external data sets.';
--
-- TOC entry 154 (class 1259 OID 16811)
-- Dependencies: 2263 2264 3
-- Name: xfv02_content_frontpage; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_content_frontpage (
content_id bigint DEFAULT 0 NOT NULL,
ordering bigint DEFAULT 0 NOT NULL
);
ALTER TABLE public.xfv02_content_frontpage OWNER TO j30;
--
-- TOC entry 152 (class 1259 OID 16771)
-- Dependencies: 153 3
-- Name: xfv02_content_id_seq; Type: SEQUENCE; Schema: public; Owner: j30
--
CREATE SEQUENCE xfv02_content_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
ALTER TABLE public.xfv02_content_id_seq OWNER TO j30;
--
-- TOC entry 2921 (class 0 OID 0)
-- Dependencies: 152
-- Name: xfv02_content_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: j30
--
ALTER SEQUENCE xfv02_content_id_seq OWNED BY xfv02_content.id;
--
-- TOC entry 155 (class 1259 OID 16818)
-- Dependencies: 2265 2266 2267 2268 3
-- Name: xfv02_content_rating; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_content_rating (
content_id bigint DEFAULT 0 NOT NULL,
rating_sum bigint DEFAULT 0 NOT NULL,
rating_count bigint DEFAULT 0 NOT NULL,
lastip character varying(50) DEFAULT ''::character varying NOT NULL
);
ALTER TABLE public.xfv02_content_rating OWNER TO j30;
--
-- TOC entry 157 (class 1259 OID 16829)
-- Dependencies: 2270 2271 2272 2273 2274 3
-- Name: xfv02_content_types; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_content_types (
type_id integer NOT NULL,
type_title character varying(255) DEFAULT ''::character varying NOT NULL,
type_alias character varying(255) DEFAULT ''::character varying NOT NULL,
"table" character varying(255) DEFAULT ''::character varying NOT NULL,
rules text NOT NULL,
field_mappings text NOT NULL,
router character varying(255) DEFAULT ''::character varying NOT NULL,
content_history_options character varying(5120) DEFAULT NULL::character varying
);
ALTER TABLE public.xfv02_content_types OWNER TO j30;
--
-- TOC entry 2922 (class 0 OID 0)
-- Dependencies: 157
-- Name: COLUMN xfv02_content_types.content_history_options; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_content_types.content_history_options IS 'JSON string for com_contenthistory options';
--
-- TOC entry 156 (class 1259 OID 16827)
-- Dependencies: 3 157
-- Name: xfv02_content_types_type_id_seq; Type: SEQUENCE; Schema: public; Owner: j30
--
CREATE SEQUENCE xfv02_content_types_type_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
ALTER TABLE public.xfv02_content_types_type_id_seq OWNER TO j30;
--
-- TOC entry 2923 (class 0 OID 0)
-- Dependencies: 156
-- Name: xfv02_content_types_type_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: j30
--
ALTER SEQUENCE xfv02_content_types_type_id_seq OWNED BY xfv02_content_types.type_id;
--
-- TOC entry 158 (class 1259 OID 16844)
-- Dependencies: 2275 2276 3
-- Name: xfv02_contentitem_tag_map; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_contentitem_tag_map (
type_alias character varying(255) DEFAULT ''::character varying NOT NULL,
core_content_id integer NOT NULL,
content_item_id integer NOT NULL,
tag_id integer NOT NULL,
tag_date timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
type_id integer NOT NULL
);
ALTER TABLE public.xfv02_contentitem_tag_map OWNER TO j30;
--
-- TOC entry 2924 (class 0 OID 0)
-- Dependencies: 158
-- Name: COLUMN xfv02_contentitem_tag_map.core_content_id; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_contentitem_tag_map.core_content_id IS 'PK from the core content table';
--
-- TOC entry 2925 (class 0 OID 0)
-- Dependencies: 158
-- Name: COLUMN xfv02_contentitem_tag_map.content_item_id; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_contentitem_tag_map.content_item_id IS 'PK from the content type table';
--
-- TOC entry 2926 (class 0 OID 0)
-- Dependencies: 158
-- Name: COLUMN xfv02_contentitem_tag_map.tag_id; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_contentitem_tag_map.tag_id IS 'PK from the tag table';
--
-- TOC entry 2927 (class 0 OID 0)
-- Dependencies: 158
-- Name: COLUMN xfv02_contentitem_tag_map.tag_date; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_contentitem_tag_map.tag_date IS 'Date of most recent save for this tag-item';
--
-- TOC entry 2928 (class 0 OID 0)
-- Dependencies: 158
-- Name: COLUMN xfv02_contentitem_tag_map.type_id; Type: COMMENT; Schema: public; Owner: j30
--
COMMENT ON COLUMN xfv02_contentitem_tag_map.type_id IS 'PK from the content_type table';
--
-- TOC entry 159 (class 1259 OID 16856)
-- Dependencies: 2277 2278 3
-- Name: xfv02_core_log_searches; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_core_log_searches (
search_term character varying(128) DEFAULT ''::character varying NOT NULL,
hits bigint DEFAULT 0 NOT NULL
);
ALTER TABLE public.xfv02_core_log_searches OWNER TO j30;
--
-- TOC entry 161 (class 1259 OID 16863)
-- Dependencies: 2280 2281 2282 2283 2284 2285 2286 2287 2288 3
-- Name: xfv02_extensions; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_extensions (
extension_id integer NOT NULL,
name character varying(100) NOT NULL,
type character varying(20) NOT NULL,
element character varying(100) NOT NULL,
folder character varying(100) NOT NULL,
client_id smallint NOT NULL,
enabled smallint DEFAULT 1 NOT NULL,
access bigint DEFAULT 1 NOT NULL,
protected smallint DEFAULT 0 NOT NULL,
manifest_cache text NOT NULL,
params text NOT NULL,
custom_data text DEFAULT ''::text NOT NULL,
system_data text DEFAULT ''::text NOT NULL,
checked_out integer DEFAULT 0 NOT NULL,
checked_out_time timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
ordering bigint DEFAULT 0,
state bigint DEFAULT 0
);
ALTER TABLE public.xfv02_extensions OWNER TO j30;
--
-- TOC entry 160 (class 1259 OID 16861)
-- Dependencies: 161 3
-- Name: xfv02_extensions_extension_id_seq; Type: SEQUENCE; Schema: public; Owner: j30
--
CREATE SEQUENCE xfv02_extensions_extension_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
ALTER TABLE public.xfv02_extensions_extension_id_seq OWNER TO j30;
--
-- TOC entry 2929 (class 0 OID 0)
-- Dependencies: 160
-- Name: xfv02_extensions_extension_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: j30
--
ALTER SEQUENCE xfv02_extensions_extension_id_seq OWNED BY xfv02_extensions.extension_id;
--
-- TOC entry 163 (class 1259 OID 16886)
-- Dependencies: 2290 2291 2292 2293 2294 2295 2296 3
-- Name: xfv02_finder_filters; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_finder_filters (
filter_id integer NOT NULL,
title character varying(255) NOT NULL,
alias character varying(255) NOT NULL,
state smallint DEFAULT 1 NOT NULL,
created timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
created_by integer NOT NULL,
created_by_alias character varying(255) NOT NULL,
modified timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
modified_by integer DEFAULT 0 NOT NULL,
checked_out integer DEFAULT 0 NOT NULL,
checked_out_time timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
map_count integer DEFAULT 0 NOT NULL,
data text NOT NULL,
params text
);
ALTER TABLE public.xfv02_finder_filters OWNER TO j30;
--
-- TOC entry 162 (class 1259 OID 16884)
-- Dependencies: 3 163
-- Name: xfv02_finder_filters_filter_id_seq; Type: SEQUENCE; Schema: public; Owner: j30
--
CREATE SEQUENCE xfv02_finder_filters_filter_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
ALTER TABLE public.xfv02_finder_filters_filter_id_seq OWNER TO j30;
--
-- TOC entry 2930 (class 0 OID 0)
-- Dependencies: 162
-- Name: xfv02_finder_filters_filter_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: j30
--
ALTER SEQUENCE xfv02_finder_filters_filter_id_seq OWNED BY xfv02_finder_filters.filter_id;
--
-- TOC entry 165 (class 1259 OID 16904)
-- Dependencies: 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 3
-- Name: xfv02_finder_links; Type: TABLE; Schema: public; Owner: j30; Tablespace:
--
CREATE TABLE xfv02_finder_links (
link_id integer NOT NULL,
url character varying(255) NOT NULL,
route character varying(255) NOT NULL,
title character varying(255) DEFAULT NULL::character varying,
description character varying(255) DEFAULT NULL::character varying,
indexdate timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
md5sum character varying(32) DEFAULT NULL::character varying,
published smallint DEFAULT 1 NOT NULL,
state integer DEFAULT 1,
access integer DEFAULT 0,
language character varying(8) DEFAULT ''::character varying NOT NULL,
publish_start_date timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
publish_end_date timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
start_date timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
end_date timestamp without time zone DEFAULT '1970-01-01 00:00:00'::timestamp without time zone NOT NULL,
list_price numeric(8,2) DEFAULT 0 NOT NULL,
sale_price numeric(8,2) DEFAULT 0 NOT NULL,
type_id bigint NOT NULL,
object bytea NOT NULL
);
ALTER TABLE public.xfv02_finder_links OWNER TO j30;
--
-- TOC entry 164 (class 1259 OID 16902)
-- Dependencies: 3 165
-- Name: xfv02_finder_links_link_id_seq; Type: SEQUENCE; Schema: public; Owner: j30
--
CREATE SEQUENCE xfv02_finder_links_link_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;