forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathportal-tables.sql
2382 lines (2215 loc) · 49.2 KB
/
portal-tables.sql
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
create table Account_ (
accountId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
parentAccountId LONG,
name VARCHAR(75) null,
legalName VARCHAR(75) null,
legalId VARCHAR(75) null,
legalType VARCHAR(75) null,
sicCode VARCHAR(75) null,
tickerSymbol VARCHAR(75) null,
industry VARCHAR(75) null,
type_ VARCHAR(75) null,
size_ VARCHAR(75) null
);
create table Address (
uuid_ VARCHAR(75) null,
addressId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
classNameId LONG,
classPK LONG,
street1 VARCHAR(75) null,
street2 VARCHAR(75) null,
street3 VARCHAR(75) null,
city VARCHAR(75) null,
zip VARCHAR(75) null,
regionId LONG,
countryId LONG,
typeId INTEGER,
mailing BOOLEAN,
primary_ BOOLEAN
);
create table AnnouncementsDelivery (
deliveryId LONG not null primary key,
companyId LONG,
userId LONG,
type_ VARCHAR(75) null,
email BOOLEAN,
sms BOOLEAN,
website BOOLEAN
);
create table AnnouncementsEntry (
uuid_ VARCHAR(75) null,
entryId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
classNameId LONG,
classPK LONG,
title VARCHAR(75) null,
content STRING null,
url STRING null,
type_ VARCHAR(75) null,
displayDate DATE null,
expirationDate DATE null,
priority INTEGER,
alert BOOLEAN
);
create table AnnouncementsFlag (
flagId LONG not null primary key,
userId LONG,
createDate DATE null,
entryId LONG,
value INTEGER
);
create table AssetCategory (
uuid_ VARCHAR(75) null,
categoryId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
parentCategoryId LONG,
leftCategoryId LONG,
rightCategoryId LONG,
name VARCHAR(75) null,
title STRING null,
description STRING null,
vocabularyId LONG
);
create table AssetCategoryProperty (
categoryPropertyId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
categoryId LONG,
key_ VARCHAR(75) null,
value VARCHAR(75) null
);
create table AssetEntries_AssetCategories (
categoryId LONG not null,
entryId LONG not null,
primary key (categoryId, entryId)
);
create table AssetEntries_AssetTags (
entryId LONG not null,
tagId LONG not null,
primary key (entryId, tagId)
);
create table AssetEntry (
entryId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
classNameId LONG,
classPK LONG,
classUuid VARCHAR(75) null,
classTypeId LONG,
visible BOOLEAN,
startDate DATE null,
endDate DATE null,
publishDate DATE null,
expirationDate DATE null,
mimeType VARCHAR(75) null,
title STRING null,
description STRING null,
summary STRING null,
url STRING null,
layoutUuid VARCHAR(75) null,
height INTEGER,
width INTEGER,
priority DOUBLE,
viewCount INTEGER
);
create table AssetLink (
linkId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
entryId1 LONG,
entryId2 LONG,
type_ INTEGER,
weight INTEGER
);
create table AssetTag (
tagId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
name VARCHAR(75) null,
assetCount INTEGER
);
create table AssetTagProperty (
tagPropertyId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
tagId LONG,
key_ VARCHAR(75) null,
value VARCHAR(255) null
);
create table AssetTagStats (
tagStatsId LONG not null primary key,
tagId LONG,
classNameId LONG,
assetCount INTEGER
);
create table AssetVocabulary (
uuid_ VARCHAR(75) null,
vocabularyId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
name VARCHAR(75) null,
title STRING null,
description STRING null,
settings_ STRING null
);
create table BTEntry (
btEntryId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
name VARCHAR(75) null,
servletContextNames VARCHAR(255) null,
taskExecutorClassName VARCHAR(200) null,
taskContext TEXT null,
completed BOOLEAN,
completionDate DATE null,
status INTEGER
);
create table BlogsEntry (
uuid_ VARCHAR(75) null,
entryId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
title VARCHAR(150) null,
urlTitle VARCHAR(150) null,
description STRING null,
content TEXT null,
displayDate DATE null,
allowPingbacks BOOLEAN,
allowTrackbacks BOOLEAN,
trackbacks TEXT null,
smallImage BOOLEAN,
smallImageId LONG,
smallImageURL STRING null,
status INTEGER,
statusByUserId LONG,
statusByUserName VARCHAR(75) null,
statusDate DATE null
);
create table BlogsStatsUser (
statsUserId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
entryCount INTEGER,
lastPostDate DATE null,
ratingsTotalEntries INTEGER,
ratingsTotalScore DOUBLE,
ratingsAverageScore DOUBLE
);
create table BookmarksEntry (
uuid_ VARCHAR(75) null,
entryId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
resourceBlockId LONG,
folderId LONG,
name VARCHAR(255) null,
url STRING null,
description STRING null,
visits INTEGER,
priority INTEGER,
status INTEGER,
statusByUserId LONG,
statusByUserName VARCHAR(75) null,
statusDate DATE null
);
create table BookmarksFolder (
uuid_ VARCHAR(75) null,
folderId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
resourceBlockId LONG,
parentFolderId LONG,
name VARCHAR(75) null,
description STRING null,
status INTEGER,
statusByUserId LONG,
statusByUserName VARCHAR(75) null,
statusDate DATE null
);
create table BrowserTracker (
browserTrackerId LONG not null primary key,
userId LONG,
browserKey LONG
);
create table CalEvent (
uuid_ VARCHAR(75) null,
eventId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
title VARCHAR(75) null,
description STRING null,
location STRING null,
startDate DATE null,
endDate DATE null,
durationHour INTEGER,
durationMinute INTEGER,
allDay BOOLEAN,
timeZoneSensitive BOOLEAN,
type_ VARCHAR(75) null,
repeating BOOLEAN,
recurrence TEXT null,
remindBy INTEGER,
firstReminder INTEGER,
secondReminder INTEGER
);
create table ClassName_ (
classNameId LONG not null primary key,
value VARCHAR(200) null
);
create table ClusterGroup (
clusterGroupId LONG not null primary key,
name VARCHAR(75) null,
clusterNodeIds VARCHAR(75) null,
wholeCluster BOOLEAN
);
create table Company (
companyId LONG not null primary key,
accountId LONG,
webId VARCHAR(75) null,
key_ TEXT null,
mx VARCHAR(75) null,
homeURL STRING null,
logoId LONG,
system BOOLEAN,
maxUsers INTEGER,
active_ BOOLEAN
);
create table Contact_ (
contactId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
classNameId LONG,
classPK LONG,
accountId LONG,
parentContactId LONG,
emailAddress VARCHAR(75) null,
firstName VARCHAR(75) null,
middleName VARCHAR(75) null,
lastName VARCHAR(75) null,
prefixId INTEGER,
suffixId INTEGER,
male BOOLEAN,
birthday DATE null,
smsSn VARCHAR(75) null,
aimSn VARCHAR(75) null,
facebookSn VARCHAR(75) null,
icqSn VARCHAR(75) null,
jabberSn VARCHAR(75) null,
msnSn VARCHAR(75) null,
mySpaceSn VARCHAR(75) null,
skypeSn VARCHAR(75) null,
twitterSn VARCHAR(75) null,
ymSn VARCHAR(75) null,
employeeStatusId VARCHAR(75) null,
employeeNumber VARCHAR(75) null,
jobTitle VARCHAR(100) null,
jobClass VARCHAR(75) null,
hoursOfOperation VARCHAR(75) null
);
create table Counter (
name VARCHAR(75) not null primary key,
currentId LONG
);
create table Country (
countryId LONG not null primary key,
name VARCHAR(75) null,
a2 VARCHAR(75) null,
a3 VARCHAR(75) null,
number_ VARCHAR(75) null,
idd_ VARCHAR(75) null,
zipRequired BOOLEAN,
active_ BOOLEAN
);
create table CyrusUser (
userId VARCHAR(75) not null primary key,
password_ VARCHAR(75) not null
);
create table CyrusVirtual (
emailAddress VARCHAR(75) not null primary key,
userId VARCHAR(75) not null
);
create table DDLRecord (
uuid_ VARCHAR(75) null,
recordId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
versionUserId LONG,
versionUserName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
DDMStorageId LONG,
recordSetId LONG,
version VARCHAR(75) null,
displayIndex INTEGER
);
create table DDLRecordSet (
uuid_ VARCHAR(75) null,
recordSetId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
DDMStructureId LONG,
recordSetKey VARCHAR(75) null,
name STRING null,
description STRING null,
minDisplayRows INTEGER,
scope INTEGER
);
create table DDLRecordVersion (
recordVersionId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
DDMStorageId LONG,
recordSetId LONG,
recordId LONG,
version VARCHAR(75) null,
displayIndex INTEGER,
status INTEGER,
statusByUserId LONG,
statusByUserName VARCHAR(75) null,
statusDate DATE null
);
create table DDMContent (
uuid_ VARCHAR(75) null,
contentId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
name STRING null,
description STRING null,
xml TEXT null
);
create table DDMStorageLink (
uuid_ VARCHAR(75) null,
storageLinkId LONG not null primary key,
classNameId LONG,
classPK LONG,
structureId LONG
);
create table DDMStructure (
uuid_ VARCHAR(75) null,
structureId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
parentStructureId LONG,
classNameId LONG,
structureKey VARCHAR(75) null,
name STRING null,
description STRING null,
xsd TEXT null,
storageType VARCHAR(75) null,
type_ INTEGER
);
create table DDMStructureLink (
structureLinkId LONG not null primary key,
classNameId LONG,
classPK LONG,
structureId LONG
);
create table DDMTemplate (
uuid_ VARCHAR(75) null,
templateId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
classNameId LONG,
classPK LONG,
templateKey VARCHAR(75) null,
name STRING null,
description STRING null,
type_ VARCHAR(75) null,
mode_ VARCHAR(75) null,
language VARCHAR(75) null,
script TEXT null,
cacheable BOOLEAN,
smallImage BOOLEAN,
smallImageId LONG,
smallImageURL VARCHAR(75) null
);
create table DLContent (
contentId LONG not null primary key,
groupId LONG,
companyId LONG,
repositoryId LONG,
path_ VARCHAR(255) null,
version VARCHAR(75) null,
data_ BLOB,
size_ LONG
);
create table DLFileEntry (
uuid_ VARCHAR(75) null,
fileEntryId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
versionUserId LONG,
versionUserName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
classNameId LONG,
classPK LONG,
repositoryId LONG,
folderId LONG,
name VARCHAR(255) null,
extension VARCHAR(75) null,
mimeType VARCHAR(75) null,
title VARCHAR(255) null,
description STRING null,
extraSettings TEXT null,
fileEntryTypeId LONG,
version VARCHAR(75) null,
size_ LONG,
readCount INTEGER,
smallImageId LONG,
largeImageId LONG,
custom1ImageId LONG,
custom2ImageId LONG,
manualCheckInRequired BOOLEAN
);
create table DLFileEntryMetadata (
uuid_ VARCHAR(75) null,
fileEntryMetadataId LONG not null primary key,
DDMStorageId LONG,
DDMStructureId LONG,
fileEntryTypeId LONG,
fileEntryId LONG,
fileVersionId LONG
);
create table DLFileEntryType (
uuid_ VARCHAR(75) null,
fileEntryTypeId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
fileEntryTypeKey VARCHAR(75) null,
name STRING null,
description STRING null
);
create table DLFileEntryTypes_DDMStructures (
structureId LONG not null,
fileEntryTypeId LONG not null,
primary key (structureId, fileEntryTypeId)
);
create table DLFileEntryTypes_DLFolders (
fileEntryTypeId LONG not null,
folderId LONG not null,
primary key (fileEntryTypeId, folderId)
);
create table DLFileRank (
uuid_ VARCHAR(75) null,
fileRankId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
fileEntryId LONG,
active_ BOOLEAN
);
create table DLFileShortcut (
uuid_ VARCHAR(75) null,
fileShortcutId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
repositoryId LONG,
folderId LONG,
toFileEntryId LONG,
active_ BOOLEAN,
status INTEGER,
statusByUserId LONG,
statusByUserName VARCHAR(75) null,
statusDate DATE null
);
create table DLFileVersion (
uuid_ VARCHAR(75) null,
fileVersionId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
repositoryId LONG,
folderId LONG,
fileEntryId LONG,
extension VARCHAR(75) null,
mimeType VARCHAR(75) null,
title VARCHAR(255) null,
description STRING null,
changeLog VARCHAR(75) null,
extraSettings TEXT null,
fileEntryTypeId LONG,
version VARCHAR(75) null,
size_ LONG,
checksum VARCHAR(75) null,
status INTEGER,
statusByUserId LONG,
statusByUserName VARCHAR(75) null,
statusDate DATE null
);
create table DLFolder (
uuid_ VARCHAR(75) null,
folderId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
repositoryId LONG,
mountPoint BOOLEAN,
parentFolderId LONG,
name VARCHAR(100) null,
description STRING null,
lastPostDate DATE null,
defaultFileEntryTypeId LONG,
hidden_ BOOLEAN,
overrideFileEntryTypes BOOLEAN,
status INTEGER,
statusByUserId LONG,
statusByUserName VARCHAR(75) null,
statusDate DATE null
);
create table EmailAddress (
uuid_ VARCHAR(75) null,
emailAddressId LONG not null primary key,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
classNameId LONG,
classPK LONG,
address VARCHAR(75) null,
typeId INTEGER,
primary_ BOOLEAN
);
create table ExpandoColumn (
columnId LONG not null primary key,
companyId LONG,
tableId LONG,
name VARCHAR(75) null,
type_ INTEGER,
defaultData STRING null,
typeSettings TEXT null
);
create table ExpandoRow (
rowId_ LONG not null primary key,
companyId LONG,
modifiedDate DATE null,
tableId LONG,
classPK LONG
);
create table ExpandoTable (
tableId LONG not null primary key,
companyId LONG,
classNameId LONG,
name VARCHAR(75) null
);
create table ExpandoValue (
valueId LONG not null primary key,
companyId LONG,
tableId LONG,
columnId LONG,
rowId_ LONG,
classNameId LONG,
classPK LONG,
data_ STRING null
);
create table Group_ (
uuid_ VARCHAR(75) null,
groupId LONG not null primary key,
companyId LONG,
creatorUserId LONG,
classNameId LONG,
classPK LONG,
parentGroupId LONG,
liveGroupId LONG,
treePath VARCHAR(75) null,
name VARCHAR(150) null,
description STRING null,
type_ INTEGER,
typeSettings TEXT null,
friendlyURL VARCHAR(255) null,
site BOOLEAN,
active_ BOOLEAN
);
create table Groups_Orgs (
groupId LONG not null,
organizationId LONG not null,
primary key (groupId, organizationId)
);
create table Groups_Roles (
groupId LONG not null,
roleId LONG not null,
primary key (groupId, roleId)
);
create table Groups_UserGroups (
groupId LONG not null,
userGroupId LONG not null,
primary key (groupId, userGroupId)
);
create table Image (
imageId LONG not null primary key,
modifiedDate DATE null,
type_ VARCHAR(75) null,
height INTEGER,
width INTEGER,
size_ INTEGER
);
create table JournalArticle (
uuid_ VARCHAR(75) null,
id_ LONG not null primary key,
resourcePrimKey LONG,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
folderId LONG,
classNameId LONG,
classPK LONG,
articleId VARCHAR(75) null,
version DOUBLE,
title STRING null,
urlTitle VARCHAR(150) null,
description STRING null,
content TEXT null,
type_ VARCHAR(75) null,
structureId VARCHAR(75) null,
templateId VARCHAR(75) null,
layoutUuid VARCHAR(75) null,
displayDate DATE null,
expirationDate DATE null,
reviewDate DATE null,
indexable BOOLEAN,
smallImage BOOLEAN,
smallImageId LONG,
smallImageURL STRING null,
status INTEGER,
statusByUserId LONG,
statusByUserName VARCHAR(75) null,
statusDate DATE null
);
create table JournalArticleImage (
articleImageId LONG not null primary key,
groupId LONG,
articleId VARCHAR(75) null,
version DOUBLE,
elInstanceId VARCHAR(75) null,
elName VARCHAR(75) null,
languageId VARCHAR(75) null,
tempImage BOOLEAN
);
create table JournalArticleResource (
uuid_ VARCHAR(75) null,
resourcePrimKey LONG not null primary key,
groupId LONG,
articleId VARCHAR(75) null
);
create table JournalContentSearch (
contentSearchId LONG not null primary key,
groupId LONG,
companyId LONG,
privateLayout BOOLEAN,
layoutId LONG,
portletId VARCHAR(200) null,
articleId VARCHAR(75) null
);
create table JournalFeed (
uuid_ VARCHAR(75) null,
id_ LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
feedId VARCHAR(75) null,
name VARCHAR(75) null,
description STRING null,
type_ VARCHAR(75) null,
structureId VARCHAR(75) null,
templateId VARCHAR(75) null,
rendererTemplateId VARCHAR(75) null,
delta INTEGER,
orderByCol VARCHAR(75) null,
orderByType VARCHAR(75) null,
targetLayoutFriendlyUrl VARCHAR(255) null,
targetPortletId VARCHAR(75) null,
contentField VARCHAR(75) null,
feedFormat VARCHAR(75) null,
feedVersion DOUBLE
);
create table JournalFolder (
uuid_ VARCHAR(75) null,
folderId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
parentFolderId LONG,
name VARCHAR(100) null,
description STRING null,
status INTEGER,
statusByUserId LONG,
statusByUserName VARCHAR(75) null,
statusDate DATE null
);
create table JournalStructure (
uuid_ VARCHAR(75) null,
id_ LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
structureId VARCHAR(75) null,
parentStructureId VARCHAR(75) null,
name STRING null,
description STRING null,
xsd TEXT null
);
create table JournalTemplate (
uuid_ VARCHAR(75) null,
id_ LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
templateId VARCHAR(75) null,
structureId VARCHAR(75) null,
name STRING null,
description STRING null,
xsl TEXT null,
langType VARCHAR(75) null,
cacheable BOOLEAN,
smallImage BOOLEAN,
smallImageId LONG,
smallImageURL STRING null
);
create table Layout (
uuid_ VARCHAR(75) null,
plid LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
privateLayout BOOLEAN,
layoutId LONG,
parentLayoutId LONG,
name STRING null,
title STRING null,
description STRING null,
keywords STRING null,
robots STRING null,
type_ VARCHAR(75) null,
typeSettings TEXT null,
hidden_ BOOLEAN,
friendlyURL VARCHAR(255) null,
iconImage BOOLEAN,
iconImageId LONG,
themeId VARCHAR(75) null,
colorSchemeId VARCHAR(75) null,
wapThemeId VARCHAR(75) null,
wapColorSchemeId VARCHAR(75) null,
css TEXT null,
priority INTEGER,
layoutPrototypeUuid VARCHAR(75) null,
layoutPrototypeLinkEnabled BOOLEAN,
sourcePrototypeLayoutUuid VARCHAR(75) null
);
create table LayoutBranch (
LayoutBranchId LONG not null primary key,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
layoutSetBranchId LONG,
plid LONG,
name VARCHAR(75) null,
description STRING null,
master BOOLEAN
);
create table LayoutFriendlyURL (