-
Notifications
You must be signed in to change notification settings - Fork 3
/
template.sql
5255 lines (4871 loc) · 952 KB
/
template.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
-- phpMyAdmin SQL Dump
-- version 4.0.10deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 03, 2015 at 09:43 PM
-- Server version: 5.5.41-0ubuntu0.14.04.1
-- PHP Version: 5.5.9-1ubuntu4.5
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `hrp`
--
-- --------------------------------------------------------
--
-- Table structure for table `about_file`
--
CREATE TABLE IF NOT EXISTS `about_file` (
`about_file_id` int(2) NOT NULL AUTO_INCREMENT,
`name` varchar(90) NOT NULL,
`file_type` varchar(255) DEFAULT NULL,
`file_size` bigint(20) NOT NULL,
`original_file_name` varchar(127) DEFAULT NULL,
`type` tinyint(1) NOT NULL,
PRIMARY KEY (`about_file_id`),
KEY `about_file_id` (`about_file_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `about_file_settings`
--
CREATE TABLE IF NOT EXISTS `about_file_settings` (
`about_file_id` int(2) NOT NULL,
`locale` varchar(5) NOT NULL,
`setting_name` varchar(255) NOT NULL,
`setting_value` text NOT NULL,
`setting_type` varchar(6) NOT NULL,
UNIQUE KEY `about_file_settings_pkey` (`about_file_id`,`locale`,`setting_name`),
KEY `about_file_settings_public_file_id` (`about_file_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `access_keys`
--
CREATE TABLE IF NOT EXISTS `access_keys` (
`access_key_id` bigint(20) NOT NULL AUTO_INCREMENT,
`context` varchar(40) NOT NULL,
`key_hash` varchar(40) NOT NULL,
`user_id` bigint(20) NOT NULL,
`assoc_id` bigint(20) DEFAULT NULL,
`expiry_date` datetime NOT NULL,
PRIMARY KEY (`access_key_id`),
KEY `access_keys_hash` (`key_hash`,`user_id`,`context`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `announcements`
--
CREATE TABLE IF NOT EXISTS `announcements` (
`announcement_id` bigint(20) NOT NULL AUTO_INCREMENT,
`assoc_type` smallint(6) DEFAULT NULL,
`assoc_id` bigint(20) NOT NULL,
`type_id` bigint(20) DEFAULT NULL,
`date_expire` datetime DEFAULT NULL,
`date_posted` datetime NOT NULL,
PRIMARY KEY (`announcement_id`),
KEY `announcements_assoc` (`assoc_type`,`assoc_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `announcement_settings`
--
CREATE TABLE IF NOT EXISTS `announcement_settings` (
`announcement_id` bigint(20) NOT NULL,
`locale` varchar(5) NOT NULL DEFAULT '',
`setting_name` varchar(255) NOT NULL,
`setting_value` text,
`setting_type` varchar(6) NOT NULL,
UNIQUE KEY `announcement_settings_pkey` (`announcement_id`,`locale`,`setting_name`),
KEY `announcement_settings_announcement_id` (`announcement_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `announcement_types`
--
CREATE TABLE IF NOT EXISTS `announcement_types` (
`type_id` bigint(20) NOT NULL AUTO_INCREMENT,
`assoc_type` smallint(6) DEFAULT NULL,
`assoc_id` bigint(20) NOT NULL,
PRIMARY KEY (`type_id`),
KEY `announcement_types_assoc` (`assoc_type`,`assoc_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `announcement_type_settings`
--
CREATE TABLE IF NOT EXISTS `announcement_type_settings` (
`type_id` bigint(20) NOT NULL,
`locale` varchar(5) NOT NULL DEFAULT '',
`setting_name` varchar(255) NOT NULL,
`setting_value` text,
`setting_type` varchar(6) NOT NULL,
UNIQUE KEY `announcement_type_settings_pkey` (`type_id`,`locale`,`setting_name`),
KEY `announcement_type_settings_type_id` (`type_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `approval_notices`
--
CREATE TABLE IF NOT EXISTS `approval_notices` (
`approval_notice_id` bigint(20) NOT NULL AUTO_INCREMENT,
`committees` varchar(90) NOT NULL,
`review_types` varchar(90) NOT NULL,
`active` tinyint(1) NOT NULL,
`title` varchar(255) NOT NULL,
`header` text,
`body` text,
`footer` text,
PRIMARY KEY (`approval_notice_id`),
KEY `approval_notice_id` (`approval_notice_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
-- --------------------------------------------------------
--
-- Table structure for table `articles`
--
CREATE TABLE IF NOT EXISTS `articles` (
`article_id` bigint(20) NOT NULL AUTO_INCREMENT,
`public_id` varchar(32) DEFAULT NULL,
`locale` varchar(5) DEFAULT NULL,
`user_id` bigint(20) NOT NULL,
`journal_id` bigint(20) NOT NULL,
`language` varchar(10) DEFAULT 'en',
`comments_to_ed` text,
`citations` text,
`date_submitted` datetime DEFAULT NULL,
`last_modified` datetime DEFAULT NULL,
`date_status_modified` datetime DEFAULT NULL,
`status` tinyint(4) NOT NULL DEFAULT '1',
`submission_progress` tinyint(4) NOT NULL DEFAULT '1',
`submission_file_id` bigint(20) DEFAULT NULL,
`revised_file_id` bigint(20) DEFAULT NULL,
`review_file_id` bigint(20) DEFAULT NULL,
`editor_file_id` bigint(20) DEFAULT NULL,
`pages` varchar(255) DEFAULT NULL,
`doi` varchar(255) DEFAULT NULL,
`fast_tracked` tinyint(4) NOT NULL DEFAULT '0',
`hide_author` tinyint(4) NOT NULL DEFAULT '0',
`comments_status` tinyint(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`article_id`),
KEY `articles_user_id` (`user_id`),
KEY `articles_journal_id` (`journal_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_abstract`
--
CREATE TABLE IF NOT EXISTS `article_abstract` (
`abstract_id` bigint(20) NOT NULL AUTO_INCREMENT,
`article_id` bigint(20) NOT NULL,
`locale` varchar(5) CHARACTER SET utf8 NOT NULL,
`scientific_title` varchar(255) CHARACTER SET utf8 NOT NULL,
`clean_scientific_title` varchar(255) CHARACTER SET utf8 NOT NULL,
`public_title` varchar(255) CHARACTER SET utf8 NOT NULL,
`clean_public_title` varchar(255) CHARACTER SET utf8 NOT NULL,
`background` text CHARACTER SET utf8 NOT NULL,
`objectives` text CHARACTER SET utf8 NOT NULL,
`study_methods` text CHARACTER SET utf8 NOT NULL,
`expected_outcomes` text CHARACTER SET utf8 NOT NULL,
`keywords` varchar(255) CHARACTER SET utf8 NOT NULL,
PRIMARY KEY (`abstract_id`),
UNIQUE KEY `locale` (`article_id`,`locale`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_comments`
--
CREATE TABLE IF NOT EXISTS `article_comments` (
`comment_id` bigint(20) NOT NULL AUTO_INCREMENT,
`comment_type` bigint(20) DEFAULT NULL,
`role_id` bigint(20) NOT NULL,
`article_id` bigint(20) NOT NULL,
`assoc_id` bigint(20) NOT NULL,
`author_id` bigint(20) NOT NULL,
`comment_title` varchar(255) NOT NULL,
`comments` text,
`date_posted` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`viewable` tinyint(4) DEFAULT NULL,
PRIMARY KEY (`comment_id`),
KEY `article_comments_article_id` (`article_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_details`
--
CREATE TABLE IF NOT EXISTS `article_details` (
`article_id` bigint(20) NOT NULL,
`student` tinyint(1) NOT NULL,
`start_date` date NOT NULL,
`end_date` date NOT NULL,
`key_implementing_institution` int(3) NOT NULL,
`multi_country` tinyint(1) NOT NULL,
`countries` varchar(255) CHARACTER SET utf8 NOT NULL,
`nationwide` tinyint(1) NOT NULL,
`geo_areas` varchar(255) CHARACTER SET utf8 NOT NULL,
`research_domains` varchar(16) DEFAULT NULL,
`research_fields` varchar(255) CHARACTER SET utf8 NOT NULL,
`human_subjects` tinyint(1) NOT NULL,
`proposal_types` varchar(255) CHARACTER SET utf8 NOT NULL,
`data_collection` tinyint(1) NOT NULL,
`committee_reviewed` tinyint(1) NOT NULL,
UNIQUE KEY `article_id` (`article_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `article_email_log`
--
CREATE TABLE IF NOT EXISTS `article_email_log` (
`log_id` bigint(20) NOT NULL AUTO_INCREMENT,
`article_id` bigint(20) NOT NULL,
`sender_id` bigint(20) NOT NULL,
`date_sent` datetime NOT NULL,
`ip_address` varchar(15) DEFAULT NULL,
`event_type` bigint(20) DEFAULT NULL,
`assoc_type` bigint(20) DEFAULT NULL,
`assoc_id` bigint(20) DEFAULT NULL,
`from_address` varchar(255) DEFAULT NULL,
`recipients` text,
`cc_recipients` text,
`bcc_recipients` text,
`subject` varchar(255) DEFAULT NULL,
`body` text,
PRIMARY KEY (`log_id`),
KEY `article_email_log_article_id` (`article_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_event_log`
--
CREATE TABLE IF NOT EXISTS `article_event_log` (
`log_id` bigint(20) NOT NULL AUTO_INCREMENT,
`article_id` bigint(20) NOT NULL,
`user_id` bigint(20) NOT NULL,
`date_logged` datetime NOT NULL,
`ip_address` varchar(15) NOT NULL,
`log_level` varchar(1) DEFAULT NULL,
`event_type` bigint(20) DEFAULT NULL,
`assoc_type` bigint(20) DEFAULT NULL,
`assoc_id` bigint(20) DEFAULT NULL,
`message` text,
PRIMARY KEY (`log_id`),
KEY `article_event_log_article_id` (`article_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_files`
--
CREATE TABLE IF NOT EXISTS `article_files` (
`file_id` bigint(20) NOT NULL AUTO_INCREMENT,
`source_file_id` bigint(20) DEFAULT NULL,
`article_id` bigint(20) NOT NULL,
`file_name` varchar(90) NOT NULL,
`file_type` varchar(255) NOT NULL,
`file_size` bigint(20) NOT NULL,
`original_file_name` varchar(127) DEFAULT NULL,
`type` varchar(40) NOT NULL,
`viewable` tinyint(4) DEFAULT NULL,
`date_uploaded` datetime NOT NULL,
`date_modified` datetime NOT NULL,
`assoc_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`file_id`),
KEY `article_files_article_id` (`article_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_galleys`
--
CREATE TABLE IF NOT EXISTS `article_galleys` (
`galley_id` bigint(20) NOT NULL AUTO_INCREMENT,
`public_galley_id` varchar(255) DEFAULT NULL,
`locale` varchar(5) DEFAULT NULL,
`article_id` bigint(20) NOT NULL,
`file_id` bigint(20) NOT NULL,
`label` varchar(32) DEFAULT NULL,
`html_galley` tinyint(4) NOT NULL DEFAULT '0',
`style_file_id` bigint(20) DEFAULT NULL,
`seq` double NOT NULL DEFAULT '0',
`views` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`galley_id`),
UNIQUE KEY `article_galleys_public_id` (`public_galley_id`,`article_id`),
KEY `article_galleys_article_id` (`article_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_html_galley_images`
--
CREATE TABLE IF NOT EXISTS `article_html_galley_images` (
`galley_id` bigint(20) NOT NULL,
`file_id` bigint(20) NOT NULL,
UNIQUE KEY `article_html_galley_images_pkey` (`galley_id`,`file_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `article_notes`
--
CREATE TABLE IF NOT EXISTS `article_notes` (
`note_id` bigint(20) NOT NULL AUTO_INCREMENT,
`article_id` bigint(20) NOT NULL,
`user_id` bigint(20) NOT NULL,
`date_created` datetime NOT NULL,
`date_modified` datetime NOT NULL,
`title` varchar(255) NOT NULL,
`note` text,
`file_id` bigint(20) NOT NULL,
PRIMARY KEY (`note_id`),
KEY `article_notes_article_id` (`article_id`),
KEY `article_notes_user_id` (`user_id`),
KEY `article_notes_file_id` (`file_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_risk_assessments`
--
CREATE TABLE IF NOT EXISTS `article_risk_assessments` (
`article_id` bigint(20) NOT NULL,
`identity_revealed` tinyint(1) NOT NULL,
`unable_to_consent` tinyint(1) NOT NULL,
`under_18` tinyint(1) NOT NULL,
`dependent_relationship` tinyint(1) NOT NULL,
`ethnic_minority` tinyint(1) NOT NULL,
`mental_impairment` tinyint(1) NOT NULL,
`pregnant` tinyint(1) NOT NULL,
`new_treatment` tinyint(1) NOT NULL,
`biological_samples` tinyint(1) NOT NULL,
`export_human_tissue` tinyint(1) NOT NULL,
`export_reason` tinyint(1) NOT NULL,
`ionizing_radiation` tinyint(1) NOT NULL,
`distress` tinyint(1) NOT NULL,
`inducements` tinyint(1) NOT NULL,
`sensitive_information` tinyint(1) NOT NULL,
`repro_technology` tinyint(1) NOT NULL,
`genetic` tinyint(1) NOT NULL,
`stem_cell` tinyint(1) NOT NULL,
`biosafety` tinyint(1) NOT NULL,
`level_of_risk` tinyint(1) NOT NULL,
`risks_list` text CHARACTER SET utf8,
`risks_management` text CHARACTER SET utf8,
`risks_to_team` tinyint(1) NOT NULL,
`risks_to_subjects` tinyint(1) NOT NULL,
`risks_to_community` tinyint(1) NOT NULL,
`benefits_to_participants` tinyint(1) NOT NULL,
`knowledge_on_condition` tinyint(1) NOT NULL,
`knowledge_on_disease` tinyint(1) NOT NULL,
`multi_institution` tinyint(1) NOT NULL,
`conflict_of_interest` tinyint(1) NOT NULL,
UNIQUE KEY `article_id` (`article_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `article_search_keyword_list`
--
CREATE TABLE IF NOT EXISTS `article_search_keyword_list` (
`keyword_id` bigint(20) NOT NULL AUTO_INCREMENT,
`keyword_text` varchar(60) NOT NULL,
PRIMARY KEY (`keyword_id`),
UNIQUE KEY `article_search_keyword_text` (`keyword_text`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_search_objects`
--
CREATE TABLE IF NOT EXISTS `article_search_objects` (
`object_id` bigint(20) NOT NULL AUTO_INCREMENT,
`article_id` bigint(20) NOT NULL,
`type` int(11) NOT NULL,
`assoc_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`object_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_search_object_keywords`
--
CREATE TABLE IF NOT EXISTS `article_search_object_keywords` (
`object_id` bigint(20) NOT NULL,
`keyword_id` bigint(20) NOT NULL,
`pos` int(11) NOT NULL,
UNIQUE KEY `article_search_object_keywords_pkey` (`object_id`,`pos`),
KEY `article_search_object_keywords_keyword_id` (`keyword_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `article_settings`
--
CREATE TABLE IF NOT EXISTS `article_settings` (
`article_id` bigint(20) NOT NULL,
`locale` varchar(5) NOT NULL DEFAULT '',
`setting_name` varchar(255) NOT NULL,
`setting_value` text,
`setting_type` varchar(6) NOT NULL,
UNIQUE KEY `article_settings_pkey` (`article_id`,`locale`,`setting_name`),
KEY `article_settings_article_id` (`article_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `article_source`
--
CREATE TABLE IF NOT EXISTS `article_source` (
`source_id` bigint(20) NOT NULL AUTO_INCREMENT,
`article_id` bigint(20) NOT NULL,
`institution_id` int(4) NOT NULL,
`amount` bigint(20) NOT NULL,
PRIMARY KEY (`source_id`),
UNIQUE KEY `source_id` (`source_id`),
KEY `article_id` (`article_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Source of monetary and material support of a research propos' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_student`
--
CREATE TABLE IF NOT EXISTS `article_student` (
`article_id` bigint(20) NOT NULL,
`institution` varchar(255) CHARACTER SET utf8 NOT NULL,
`degree` tinyint(1) NOT NULL,
`supervisor_name` varchar(255) CHARACTER SET utf8 NOT NULL,
`supervisor_email` varchar(90) CHARACTER SET utf8 NOT NULL,
UNIQUE KEY `article_id` (`article_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `article_supplementary_files`
--
CREATE TABLE IF NOT EXISTS `article_supplementary_files` (
`supp_id` bigint(20) NOT NULL AUTO_INCREMENT,
`file_id` bigint(20) NOT NULL,
`article_id` bigint(20) NOT NULL,
`type` varchar(255) DEFAULT NULL,
`language` varchar(10) DEFAULT NULL,
`public_supp_file_id` varchar(255) DEFAULT NULL,
`date_created` date DEFAULT NULL,
`show_reviewers` tinyint(4) DEFAULT '0',
`date_submitted` datetime NOT NULL,
`seq` double NOT NULL DEFAULT '0',
PRIMARY KEY (`supp_id`),
KEY `article_supplementary_files_file_id` (`file_id`),
KEY `article_supplementary_files_article_id` (`article_id`),
KEY `supp_public_supp_file_id` (`public_supp_file_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `article_supp_file_settings`
--
CREATE TABLE IF NOT EXISTS `article_supp_file_settings` (
`supp_id` bigint(20) NOT NULL,
`locale` varchar(5) NOT NULL DEFAULT '',
`setting_name` varchar(255) NOT NULL,
`setting_value` text,
`setting_type` varchar(6) NOT NULL,
UNIQUE KEY `article_supp_file_settings_pkey` (`supp_id`,`locale`,`setting_name`),
KEY `article_supp_file_settings_supp_id` (`supp_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `article_xml_galleys`
--
CREATE TABLE IF NOT EXISTS `article_xml_galleys` (
`xml_galley_id` bigint(20) NOT NULL AUTO_INCREMENT,
`galley_id` bigint(20) NOT NULL,
`article_id` bigint(20) NOT NULL,
`label` varchar(32) NOT NULL,
`galley_type` varchar(255) NOT NULL,
`views` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`xml_galley_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `authors`
--
CREATE TABLE IF NOT EXISTS `authors` (
`author_id` bigint(20) NOT NULL AUTO_INCREMENT,
`submission_id` bigint(20) NOT NULL,
`primary_contact` tinyint(4) NOT NULL DEFAULT '0',
`seq` double NOT NULL DEFAULT '0',
`first_name` varchar(40) NOT NULL,
`middle_name` varchar(40) DEFAULT NULL,
`last_name` varchar(90) NOT NULL,
`affiliation` varchar(255) DEFAULT NULL,
`email` varchar(90) NOT NULL,
`phone` varchar(40) DEFAULT NULL,
`user_group_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`author_id`),
KEY `authors_submission_id` (`submission_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `auth_sources`
--
CREATE TABLE IF NOT EXISTS `auth_sources` (
`auth_id` bigint(20) NOT NULL AUTO_INCREMENT,
`title` varchar(60) NOT NULL,
`plugin` varchar(32) NOT NULL,
`auth_default` tinyint(4) NOT NULL DEFAULT '0',
`settings` text,
PRIMARY KEY (`auth_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `books_for_review`
--
CREATE TABLE IF NOT EXISTS `books_for_review` (
`book_id` bigint(20) NOT NULL AUTO_INCREMENT,
`journal_id` bigint(20) NOT NULL,
`status` smallint(6) NOT NULL,
`author_type` smallint(6) NOT NULL,
`publisher` varchar(255) NOT NULL,
`year` smallint(6) NOT NULL,
`language` varchar(10) NOT NULL DEFAULT 'en',
`copy` tinyint(4) NOT NULL DEFAULT '0',
`url` varchar(255) DEFAULT NULL,
`edition` tinyint(4) DEFAULT NULL,
`pages` smallint(6) DEFAULT NULL,
`isbn` varchar(30) DEFAULT NULL,
`date_created` datetime NOT NULL,
`date_requested` datetime DEFAULT NULL,
`date_assigned` datetime DEFAULT NULL,
`date_mailed` datetime DEFAULT NULL,
`date_due` datetime DEFAULT NULL,
`date_submitted` datetime DEFAULT NULL,
`user_id` bigint(20) DEFAULT NULL,
`editor_id` bigint(20) DEFAULT NULL,
`article_id` bigint(20) DEFAULT NULL,
`notes` text,
PRIMARY KEY (`book_id`),
KEY `bfr_id` (`book_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `books_for_review_authors`
--
CREATE TABLE IF NOT EXISTS `books_for_review_authors` (
`author_id` bigint(20) NOT NULL AUTO_INCREMENT,
`book_id` bigint(20) NOT NULL,
`seq` double NOT NULL DEFAULT '0',
`first_name` varchar(40) NOT NULL,
`middle_name` varchar(40) DEFAULT NULL,
`last_name` varchar(90) NOT NULL,
PRIMARY KEY (`author_id`),
KEY `bfr_book_id` (`book_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `books_for_review_settings`
--
CREATE TABLE IF NOT EXISTS `books_for_review_settings` (
`book_id` bigint(20) NOT NULL,
`locale` varchar(5) NOT NULL DEFAULT '',
`setting_name` varchar(255) NOT NULL,
`setting_value` text,
`setting_type` varchar(6) NOT NULL,
UNIQUE KEY `bfr_settings_pkey` (`book_id`,`locale`,`setting_name`),
KEY `bfr_settings_book_id` (`book_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `captchas`
--
CREATE TABLE IF NOT EXISTS `captchas` (
`captcha_id` bigint(20) NOT NULL AUTO_INCREMENT,
`session_id` varchar(40) NOT NULL,
`value` varchar(20) NOT NULL,
`date_created` datetime NOT NULL,
PRIMARY KEY (`captcha_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `citations`
--
CREATE TABLE IF NOT EXISTS `citations` (
`citation_id` bigint(20) NOT NULL AUTO_INCREMENT,
`assoc_type` bigint(20) NOT NULL DEFAULT '0',
`assoc_id` bigint(20) NOT NULL DEFAULT '0',
`citation_state` bigint(20) NOT NULL,
`raw_citation` text,
`seq` bigint(20) NOT NULL DEFAULT '0',
`lock_id` varchar(23) DEFAULT NULL,
PRIMARY KEY (`citation_id`),
UNIQUE KEY `citations_assoc_seq` (`assoc_type`,`assoc_id`,`seq`),
KEY `citations_assoc` (`assoc_type`,`assoc_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `citation_settings`
--
CREATE TABLE IF NOT EXISTS `citation_settings` (
`citation_id` bigint(20) NOT NULL,
`locale` varchar(5) NOT NULL DEFAULT '',
`setting_name` varchar(255) NOT NULL,
`setting_value` text,
`setting_type` varchar(6) NOT NULL,
UNIQUE KEY `citation_settings_pkey` (`citation_id`,`locale`,`setting_name`),
KEY `citation_settings_citation_id` (`citation_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `comments`
--
CREATE TABLE IF NOT EXISTS `comments` (
`comment_id` bigint(20) NOT NULL AUTO_INCREMENT,
`submission_id` bigint(20) NOT NULL,
`parent_comment_id` bigint(20) DEFAULT NULL,
`num_children` int(11) NOT NULL DEFAULT '0',
`user_id` bigint(20) DEFAULT NULL,
`poster_ip` varchar(15) NOT NULL,
`poster_name` varchar(90) DEFAULT NULL,
`poster_email` varchar(90) DEFAULT NULL,
`title` varchar(255) NOT NULL,
`body` text,
`date_posted` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
PRIMARY KEY (`comment_id`),
KEY `comments_submission_id` (`submission_id`),
KEY `comments_user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `completed_payments`
--
CREATE TABLE IF NOT EXISTS `completed_payments` (
`completed_payment_id` bigint(20) NOT NULL AUTO_INCREMENT,
`timestamp` datetime NOT NULL,
`payment_type` bigint(20) NOT NULL,
`journal_id` bigint(20) NOT NULL,
`user_id` bigint(20) DEFAULT NULL,
`assoc_id` bigint(20) DEFAULT NULL,
`amount` double NOT NULL,
`currency_code_alpha` varchar(3) DEFAULT NULL,
`payment_method_plugin_name` varchar(80) DEFAULT NULL,
PRIMARY KEY (`completed_payment_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `controlled_vocabs`
--
CREATE TABLE IF NOT EXISTS `controlled_vocabs` (
`controlled_vocab_id` bigint(20) NOT NULL AUTO_INCREMENT,
`symbolic` varchar(64) NOT NULL,
`assoc_type` bigint(20) NOT NULL DEFAULT '0',
`assoc_id` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`controlled_vocab_id`),
UNIQUE KEY `controlled_vocab_symbolic` (`symbolic`,`assoc_type`,`assoc_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `controlled_vocab_entries`
--
CREATE TABLE IF NOT EXISTS `controlled_vocab_entries` (
`controlled_vocab_entry_id` bigint(20) NOT NULL AUTO_INCREMENT,
`controlled_vocab_id` bigint(20) NOT NULL,
`seq` double DEFAULT NULL,
PRIMARY KEY (`controlled_vocab_entry_id`),
KEY `controlled_vocab_entries_cv_id` (`controlled_vocab_id`,`seq`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `controlled_vocab_entry_settings`
--
CREATE TABLE IF NOT EXISTS `controlled_vocab_entry_settings` (
`controlled_vocab_entry_id` bigint(20) NOT NULL,
`locale` varchar(5) NOT NULL DEFAULT '',
`setting_name` varchar(255) NOT NULL,
`setting_value` text,
`setting_type` varchar(6) NOT NULL,
UNIQUE KEY `c_v_e_s_pkey` (`controlled_vocab_entry_id`,`locale`,`setting_name`),
KEY `c_v_e_s_entry_id` (`controlled_vocab_entry_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `counter_monthly_log`
--
CREATE TABLE IF NOT EXISTS `counter_monthly_log` (
`year` bigint(20) NOT NULL,
`month` bigint(20) NOT NULL,
`journal_id` bigint(20) NOT NULL,
`count_html` bigint(20) NOT NULL DEFAULT '0',
`count_pdf` bigint(20) NOT NULL DEFAULT '0',
`count_other` bigint(20) NOT NULL DEFAULT '0',
UNIQUE KEY `counter_monthly_log_key` (`year`,`month`,`journal_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `custom_issue_orders`
--
CREATE TABLE IF NOT EXISTS `custom_issue_orders` (
`issue_id` bigint(20) NOT NULL,
`journal_id` bigint(20) NOT NULL,
`seq` double NOT NULL DEFAULT '0',
UNIQUE KEY `custom_issue_orders_pkey` (`issue_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `custom_section_orders`
--
CREATE TABLE IF NOT EXISTS `custom_section_orders` (
`issue_id` bigint(20) NOT NULL,
`section_id` bigint(20) NOT NULL,
`seq` double NOT NULL DEFAULT '0',
UNIQUE KEY `custom_section_orders_pkey` (`issue_id`,`section_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `email_templates`
--
CREATE TABLE IF NOT EXISTS `email_templates` (
`email_id` bigint(20) NOT NULL AUTO_INCREMENT,
`email_key` varchar(30) NOT NULL,
`assoc_type` bigint(20) DEFAULT '0',
`assoc_id` bigint(20) DEFAULT '0',
`enabled` tinyint(4) NOT NULL DEFAULT '1',
PRIMARY KEY (`email_id`),
UNIQUE KEY `email_templates_email_key` (`email_key`,`assoc_type`,`assoc_id`),
KEY `email_templates_assoc` (`assoc_type`,`assoc_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=70 ;
--
-- Dumping data for table `email_templates`
--
INSERT INTO `email_templates` (`email_id`, `email_key`, `assoc_type`, `assoc_id`, `enabled`) VALUES
(6, 'COPYEDIT_ACK', 256, 4, 0),
(7, 'COPYEDIT_AUTHOR_ACK', 256, 4, 0),
(8, 'COPYEDIT_AUTHOR_COMPLETE', 256, 4, 0),
(9, 'COPYEDIT_AUTHOR_REQUEST', 256, 4, 0),
(10, 'COPYEDIT_COMPLETE', 256, 4, 0),
(11, 'COPYEDIT_FINAL_ACK', 256, 4, 0),
(12, 'COPYEDIT_FINAL_COMPLETE', 256, 4, 0),
(13, 'COPYEDIT_FINAL_REQUEST', 256, 4, 0),
(14, 'COPYEDIT_REQUEST', 256, 4, 0),
(15, 'EDITOR_ASSIGN', 256, 4, 0),
(16, 'SECTION_DECISION_APPROVED', 256, 4, 1),
(17, 'SECTION_DECISION_DECLINE', 256, 4, 1),
(18, 'SECTION_DECISION_RESUBMIT', 256, 4, 1),
(19, 'LAYOUT_ACK', 256, 4, 0),
(20, 'LAYOUT_COMPLETE', 256, 4, 0),
(21, 'SECTION_DECISION_REVISIONS', 256, 4, 1),
(22, 'LAYOUT_REQUEST', 256, 4, 0),
(23, 'PASSWORD_RESET', 256, 4, 1),
(24, 'PASSWORD_RESET_CONFIRM', 256, 4, 1),
(25, 'PROOFREAD_ACK', 256, 4, 0),
(26, 'PROOFREAD_AUTHOR_ACK', 256, 4, 0),
(27, 'PROOFREAD_AUTHOR_COMPLETE', 256, 4, 0),
(28, 'PROOFREAD_AUTHOR_REQUEST', 256, 4, 0),
(29, 'PROOFREAD_COMPLETE', 256, 4, 0),
(30, 'PROOFREAD_LAYOUT_ACK', 256, 4, 0),
(31, 'PROOFREAD_LAYOUT_COMPLETE', 256, 4, 0),
(32, 'PROOFREAD_LAYOUT_REQUEST', 256, 4, 0),
(33, 'PROOFREAD_REQUEST', 256, 4, 0),
(34, 'REVIEW_ACK', 256, 4, 1),
(35, 'REVIEW_CANCEL', 256, 4, 1),
(36, 'USER_VALIDATE', 256, 4, 1),
(37, 'REVIEW_COMPLETE', 256, 4, 1),
(38, 'REVIEW_CONFIRM', 256, 4, 1),
(39, 'REVIEW_DECLINE', 256, 4, 1),
(40, 'REVIEW_REMIND', 256, 4, 1),
(41, 'REVIEW_REMIND_AUTO', 256, 4, 1),
(42, 'REVIEW_REMIND_AUTO_ONECLICK', 256, 4, 1),
(43, 'REVIEW_REMIND_ONECLICK', 256, 4, 1),
(44, 'REVIEW_REQUEST', 256, 4, 1),
(45, 'REVIEW_REQUEST_ATTACHED', 256, 4, 1),
(46, 'REVIEW_REQUEST_ONECLICK', 256, 4, 1),
(47, 'SUBMISSION_ACK', 256, 4, 1),
(48, 'SUBMISSION_COMMENT', 256, 4, 1),
(49, 'SUBMISSION_DECISION_REVIEWERS', 256, 4, 1),
(50, 'SUBMISSION_UNSUITABLE', 256, 4, 1),
(51, 'USER_REGISTER', 256, 4, 1),
(52, 'SECTION_DECISION_EXEMPT', 256, 4, 1),
(53, 'SECTION_DECISION_INCOMPLETE', 256, 4, 1),
(54, 'COMMITTEE_REGISTER', 256, 4, 1),
(55, 'MEETING_NEW', 256, 4, 0),
(56, 'MEETING_NEW_INVESTIGATOR', 256, 4, 0),
(57, 'MEETING_NEW_EXTERNAL_REVIEWER', 256, 4, 1),
(58, 'MEETING_CHANGE', 256, 4, 1),
(59, 'MEETING_CHANGE_INVESTIGATOR', 256, 4, 1),
(60, 'MEETING_CHANGE_EXT_REVIEWER', 256, 4, 1),
(61, 'MEETING_FINAL', 256, 4, 1),
(62, 'MEETING_FINAL_INVESTIGATOR', 256, 4, 0),
(63, 'MEETING_FINAL_EXT_REVIEWER', 256, 4, 1),
(64, 'MEETING_CANCEL', 256, 4, 1),
(65, 'MEETING_CANCEL_INVESTIGATOR', 256, 4, 1),
(66, 'MEETING_CANCEL_EXT_REVIEWER', 256, 4, 1),
(67, 'MEETING_REMIND', 256, 4, 1),
(68, 'SECTION_DECISION_FR_APPROVED', 256, 4, 1);
-- --------------------------------------------------------
--
-- Table structure for table `email_templates_data`
--
CREATE TABLE IF NOT EXISTS `email_templates_data` (
`email_key` varchar(30) NOT NULL,
`locale` varchar(5) NOT NULL DEFAULT 'en_US',
`assoc_type` bigint(20) DEFAULT '0',
`assoc_id` bigint(20) DEFAULT '0',
`subject` varchar(120) NOT NULL,
`body` text,
UNIQUE KEY `email_templates_data_pkey` (`email_key`,`locale`,`assoc_type`,`assoc_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `email_templates_data`
--
INSERT INTO `email_templates_data` (`email_key`, `locale`, `assoc_type`, `assoc_id`, `subject`, `body`) VALUES
('EDITOR_ASSIGN', 'en_US', 256, 4, 'Editorial Assignment', '{$editorialContactName}:\r\n\r\nThe submission, "{$articleTitle}," to {$journalName} has been assigned to you to see through the editorial process in your role as Section Editor. \r\n\r\nSubmission URL: {$submissionUrl}\r\nUsername: {$editorUsername}\r\n\r\nThank you,\r\n{$editorialContactSignature}'),
('SECTION_DECISION_APPROVED', 'en_US', 256, 4, '{$sectionName} Decision {$articleId}', 'Dear {$authorName}:\r\n\r\nWe have the pleasure to inform you that the {$sectionName} has approved the "{$reviewType}" of your proposal entitled "{$articleTitle}" with the ID {$articleId}.\r\n\r\nHowever, you will still be required to submit a copy of the future progress reports and final report of the research through your {$journalTitle} Account. For these submissions, please use the appropriate links in your “Ongoing” proposals:\r\n\r\n{$urlOngoing}\r\n\r\nYou can access to all the information about the reviews your research (including, if applicable, the decision files) by logging into your account on the {$journalTitle} and following the URL address below:\r\n\r\n{$url}\r\n\r\nBest regards,\r\n\r\n{$editorialContactSignature}'),
('SECTION_DECISION_DECLINE', 'en_US', 256, 4, '{$sectionName} Decision {$articleId}', 'Dear {$authorName}:\r\n\r\nWe regret to inform you that the {$reviewType} of your proposal entitled "{$articleTitle}" with the ID {$articleId} has NOT been approved by the {$sectionName}.\r\n\r\nYou can access to all the information about the reviews your research (including, if applicable, the decision files) by logging into your account on the {$journalTitle} and following the URL address below:\r\n\r\n{$url}\r\n\r\nBest regards,\r\n\r\n{$editorialContactSignature}'),
('SECTION_DECISION_RESUBMIT', 'en_US', 256, 4, '{$sectionName} Decision {$articleId}', 'Dear {$authorName}:\r\n\r\nThe {$sectionName} made a decision concerning the "{$reviewType}" of your proposal entitled "{$articleTitle}" with the ID {$articleId}.\r\n\r\nPlease see the comments below:\r\n\r\nYou can access to all the information about the reviews of your research (including, if applicable, the decision files) by logging into your account on the {$journalTitle} and following the URL address below:\r\n\r\n{$url}\r\n\r\nWe look forward to receive your proposal with the requested modifications. You may modify it and send it again by using the “Resubmit” link in your list of “draft” proposals:\r\n\r\n{$urlDrafts}\r\n\r\nBest regards,\r\n\r\n{$editorialContactSignature}'),
('PASSWORD_RESET', 'en_US', 256, 4, 'Password Reset', 'Dear {userFullName}:\r\n\r\nYour password has been successfully reset for use with the {$journalName}. Please retain this username and password, as it is necessary for all work with the system.\r\n\r\nYour username: {$username}\r\nYour new password: {$password}\r\n\r\n{$principalContactSignature}'),
('PASSWORD_RESET_CONFIRM', 'en_US', 256, 4, 'Password Reset Confirmation', 'Dear {$userFullName}:\r\n\r\nWe have received a request to reset your password for the {$journalName}.\r\n\r\nIf you did not make this request, please ignore this email and your password will not be changed. If you wish to reset your password, click on the below URL.\r\n\r\nReset my password: {$url}\r\n\r\n{$principalContactSignature}'),
('PROOFREAD_AUTHOR_ACK', 'en_US', 256, 4, 'Proofreading Acknowledgement (Author)', '{$authorName}:\r\n\r\nThank you for proofreading the galleys for your manuscript, "{$articleTitle}," in {$journalName}. We are looking forward to publishing your work shortly.\r\n\r\nIf you subscribe to our notification service, you will receive an email of the Table of Contents as soon as it is published. If you have any questions, please contact me.\r\n\r\n{$editorialContactSignature}'),
('REVIEW_ACK', 'en_US', 256, 4, 'Proposal Review Acknowledgement from the {$sectionName}', 'Dear {$reviewerName}:\r\n\r\nThank you for completing the review of the proposal, "{$articleTitle}" for the {$sectionName}. We appreciate your contribution to the committee.\r\n\r\nBest regards,\r\n\r\n{$editorialContactSignature}'),
('REVIEW_CANCEL', 'en_US', 256, 4, 'Request for Proposal Review Cancelled', 'Dear {$reviewerName}:\r\n\r\nThe {$sectionName} have decided at this point to cancel its request for you to review the proposal, "{$articleTitle}". We apologize for any inconvenience this may have caused to you.\r\n\r\nIf you have any questions, please contact me.\r\n\r\n\r\nBest regards,\r\n\r\n{$editorialContactSignature}'),
('USER_VALIDATE', 'en_US', 256, 4, 'Validate Your Account', 'Dear {$userFullName}\r\n\r\nYou have created an account with the Health Research Portal, but before you can start using it, you need to validate your email account. To do this, simply follow the link below:\r\n\r\n{$activateUrl}\r\n\r\nThank you,\r\n{$principalContactSignature}'),
('REVIEW_COMPLETE', 'en_US', 256, 4, 'Proposal Review Completed {$articleId}', 'Dear {$editorialContactName}:\r\n\r\nI have now completed the review of "{$articleTitle}".\r\n\r\n{$reviewerName}'),
('REVIEW_CONFIRM', 'en_US', 256, 4, 'Able to Review {$articleId}', 'Dear {$editorialContactName}:\r\n\r\nI am able and willing to review the proposal, "{$articleTitle}".\r\nI plan to have the review completed by the latest {$reviewDueDate}.\r\n\r\n{$reviewerName}'),
('REVIEW_DECLINE', 'en_US', 256, 4, 'Unable to Review {$articleId}', 'Dear {$editorialContactName}:\r\n\r\nI regret to inform you that I am unable to review the proposal "{$articleTitle}" at this time. \r\n\r\n{$reviewerName}'),
('REVIEW_REMIND', 'en_US', 256, 4, 'Proposal Review Reminder from {$sectionName}', 'Dear {$reviewerName}:\r\n\r\nThis message is a gentle reminder for the proposal review request for the proposal, "{$articleTitle}". We were hoping to have this review by {$reviewDueDate}, and would be pleased to receive it as soon as you are able to prepare it.\r\n\r\nYou can access the proposal (using your user name and password) by clicking on following url address:\r\n\r\n{$submissionReviewUrl}\r\n\r\nIf you do not have your username and password for the Health Research Portal, you can use this link to get a new password (which will then be emailed to you along with your username). {$passwordResetUrl}\r\n\r\nPlease confirm your ability to complete this vital contribution to the work of the committee. I look forward to hearing from you.\r\n\r\nBest,\r\n\r\n{$editorialContactSignature}'),
('REVIEW_REMIND_AUTO', 'en_US', 256, 4, 'Automated Proposal Review Reminder from {$sectionName}}', 'Dear {$reviewerName}:\r\n\r\nThis message is a gentle reminder for the proposal review request for the proposal, "{$articleTitle}". We were hoping to have this review by {$reviewDueDate}, and would be pleased to receive it as soon as you are able to prepare it.\r\n\r\nYou can access the proposal (using your user name and password) by clicking on following url address:\r\n\r\n{$submissionReviewUrl}\r\n\r\nIf you do not have your username and password for the Health Research Portal, you can use this link to get a new password (which will then be emailed to you along with your username). {$passwordResetUrl}\r\n\r\nPlease confirm your ability to complete this vital contribution to the work of the ERC. I look forward to hearing from you.\r\n\r\nBest,\r\n\r\n{$editorialContactSignature}'),
('REVIEW_REMIND_AUTO_ONECLICK', 'en_US', 256, 4, 'Automated Proposal Review Reminder', 'Dear {$reviewerName}:\r\n\r\nJust a gentle reminder of our request for your review of the submission, "{$articleTitle}". We were hoping to have this review by {$reviewDueDate}, and this email has been automatically generated and sent with the passing of that date. We would still be pleased to receive it as soon as you are able to prepare it.\r\n\r\nSubmission URL: {$submissionReviewUrl}\r\n\r\nPlease confirm your ability to complete this vital contribution to the work of the ERC. I look forward to hearing from you.\r\n\r\n{$editorialContactSignature}'),
('REVIEW_REMIND_ONECLICK', 'en_US', 256, 4, 'Proposal Review Reminder', 'Dear {$reviewerName}:\r\n\r\nJust a gentle reminder of our request for your review of the submission, "{$articleTitle}". We were hoping to have this review by {$reviewDueDate}, and would be pleased to receive it as soon as you are able to prepare it.\r\n\r\nSubmission URL: {$submissionReviewUrl}\r\n\r\nPlease confirm your ability to complete this vital contribution to the work of the ERC. I look forward to hearing from you.\r\n\r\n{$editorialContactSignature}'),
('REVIEW_REQUEST', 'en_US', 256, 4, 'Proposal Review Request from {$sectionName}', 'Dear {$reviewerName}:\r\n\r\nPlease review the proposal, "{$articleTitle}", which has been submitted to the {$sectionName}. \r\n\r\nPleaseclick on the link below (using your username and password sent to you earlier) by (date: three days after the current date) to indicate whether you will undertake the review or not, as well as to access the proposal files and to record your review and recommendation.\r\n\r\n{$submissionReviewUrl}\r\n\r\nThe review itself is due: {$reviewDueDate}.\r\n\r\nIf you can not find your username and password sent earlier, you can use this link to get a new password (which will then be emailed to you along with your username). \r\n{$passwordResetUrl}\r\n\r\nThank you very much. \r\n\r\n{$editorialContactSignature}\r\n\r\n\r\n"{$articleTitle}"\r\n\r\n\r\nBackground:\r\n{$articleBackground}\r\n\r\nObjectives:\r\n{$articleObjectives}\r\n\r\nStudy Methods:\r\n{$articleStudyMethods}\r\n\r\nExpected Outcomes and Use of Results:\r\n{$articleExpectedOutcomes}'),
('REVIEW_REQUEST_ATTACHED', 'en_US', 256, 4, 'Proposal Review Request', 'Dear {$reviewerName}:\r\n\r\nPlease review the proposal submission "{$articleTitle}".\r\nWe hope to review your review of the proposal, along with your recommendation, via e-mail, by {$reviewDueDate}.\r\n\r\nPlease indicate in a return email by {$weekLaterDate} whether you are able and willing to do the review.\r\n\r\nThank you very much.\r\n\r\n{$editorialContactSignature}'),
('REVIEW_REQUEST_ONECLICK', 'en_US', 256, 4, 'Proposal Review Request', 'Dear {$reviewerName}:\r\n\r\nPlease review the proposal "{$articleTitle}".\r\n\r\nPlease log into the Health Research Portal site by {$weekLaterDate} to indicate whether you will undertake the review or not, as well as to access the submission and to record your review and recommendation.\r\n\r\nThe review itself is due {$reviewDueDate}.\r\n\r\nSubmission URL: {$submissionReviewUrl}\r\n\r\nThank you very much. \r\n\r\n{$editorialContactSignature}'),
('SUBMISSION_ACK', 'en_US', 256, 4, 'Proposal Submission Acknowledgement from {$sectionName}', 'Dear {$authorName}:\r\n\r\nThank you for submitting the proposal "{$articleTitle}" for review to the {$sectionName}.\r\n\r\nThe proposal has been assigned a unique ID number of {$articleId}.\r\n\r\nWith the online proposal review management system that we are using, you will be able to track its progress through the review process by logging in to the {$journalName} using your username and password.\r\n\r\nProposal URL: {$submissionUrl}\r\nUsername: {$authorUsername}\r\n\r\nFor any enquiries, please contact me by email and specify the ID number of your proposal.\r\n\r\nThank you very much. \r\n\r\n{$sectionName}'),
('SUBMISSION_COMMENT', 'en_US', 256, 4, 'Proposal Submission Comment', 'Dear {$name}:\r\n\r\n{$commentName} has added a comment to the proposal submission, "{$articleTitle}":\r\n\r\n{$comments}'),
('SUBMISSION_DECISION_REVIEWERS', 'en_US', 256, 4, 'Decision on Proposal "{$articleTitle}"', 'As one of the reviewers for the submission, "{$articleTitle}," I am sending you the reviews and decision sent to the Responsible Technical Officer for this proposal. \r\n\r\nThank you again for your important contribution to this process.\r\n \r\n{$editorialContactSignature}\r\n\r\n{$comments}'),
('SUBMISSION_UNSUITABLE', 'en_US', 256, 4, 'Unsuitable Proposal Submission', 'Dear {$authorName}:\r\n\r\nAn initial review of "{$articleTitle}" has made it clear that this submission does not fit within the scope and focus of the Ethics Committee. \r\n\r\n\r\n{$editorialContactSignature}'),
('USER_REGISTER', 'en_US', 256, 4, 'Registration on {$journalName}', 'Dear {$userFullName}\r\n\r\nYou have now been registered as a user with the {$journalName}. We have included your username and password in this email, which are needed for online submission of research proposal for review by any of the Research Ethics Committees in {$location}, as well to track the progress of review process and to submit any progress reports to the Committees. At any point, you can ask to be removed from the portal''s list of users by contacting me.\r\n\r\nUsername: {$username}\r\nPassword: {$password}\r\n\r\nThank you,\r\n\r\n{$principalContactSignature}'),
('SECTION_DECISION_EXEMPT', 'en_US', 256, 4, '{$sectionName} Decision {$articleId}', 'Dear {$authorName}:\r\n\r\nWe are pleased to inform you that the "{$reviewType}" of your proposal entitled "{$articleTitle}" with the ID {$articleId} has been exempted from review by the {$sectionName}.\r\n\r\nHowever, you will still be required to submit a copy of the future progress reports and final report of the research through your {$journalTitle} Account. For these submissions, please use the appropriate links in your “Ongoing” proposals:\r\n\r\n{$urlOngoing}\r\n\r\nYou can access to all the information about the reviews of your research (including, if applicable, the decision files) by logging into your account on {$journalTitle} and following the URL address below:\r\n\r\n{$url}\r\n\r\nBest regards,\r\n\r\n{$editorialContactSignature}'),
('SECTION_DECISION_INCOMPLETE', 'en_US', 256, 4, '{$sectionName} - {$articleId} considered as incomplete', 'Dear {$authorName}\r\n \r\nThe "{$reviewType}" of your proposal, entitled "{$articleTitle}", has been considered as incomplete on initial screening by the {$sectionName}.\r\n \r\nPlease see the comments below:\r\n\r\n\r\nYou can access to all the information about the reviews of your research (including, if applicable, the decision files) by logging into your account on the {$journalTitle} and following the URL address below:\r\n\r\n{$url}\r\n\r\nWe look forward to receive your proposal with the requested modifications. You may modify it and send it again by using the “Resubmit” link in your list of “draft” proposals:\r\n\r\n{$urlDrafts}\r\n \r\nBest regards\r\n \r\n{$editorialContactSignature}'),
('COMMITTEE_REGISTER', 'en_US', 256, 4, 'Registration with {$ercTitle}', 'Dear {$userFullName},\r\n\r\nYou are now registered as the {$ercStatus} of the {$ercTitle}. We have included your username and password in this email, which are needed for any actions you would like to perform on this portal.\r\n\r\nUsername: {$username}\r\nPassword: {$password}\r\n\r\nIf you would like to modify your profile information like your password, your reviewing interests or even your email, please click on the following link, edit your profile and save it:\r\n\r\nEdit your profile: {$editProfile}\r\n\r\nThe health research portal is always accessible at this address:\r\nhttp://www.health.gov.fj/fijihrp\r\n\r\nWe thank you for your cooperation.\r\n\r\nCordially,\r\n\r\n{$secretaryFullName}\r\n{$secretaryFunctions}'),
('MEETING_NEW', 'en_US', 256, 4, '{$ercTitle} - Suggestion of Meeting', 'Dear {$ercAbbrev} reviewers,\r\n\r\n{$ercTitle} would like to organize a meeting in order to review the following proposal(s):\r\n\r\n{$submissions}\r\n\r\nPlease find below the suggested date and/or location for the meeting:\r\n\r\n{$dateLocation}\r\n\r\nPlease answer through the {$journalName} if you would be able to attend the meeting (comments or suggestions can be added). Click on the following link and, by using your username and password, you will be able to confirm your attendance as to access the meeting and proposal(s) information.\r\n\r\n{$replyUrl}\r\n\r\nBased on the responses received from all of you, the final date and location or a new suggestion of meeting will be communicated.\r\n\r\nWe thank you for your cooperation.\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_NEW_INVESTIGATOR', 'en_US', 256, 4, '{$ercTitle} - Suggestion of Meeting', 'Dear {$investigatorFullName},\r\n\r\n{$ercTitle} is organizing a meeting in order to review your proposal(s):\r\n\r\n{$submissions}\r\n\r\nPlease find below the informations concerning the meeting:\r\n\r\n{$dateLocation}\r\n\r\nPlease let us know via the {$journalName} if you would be able to attend or not to the meeting (comments or suggestions can be added). Click on the following link and, by using your username and password, you will be able to confirm your attendance.\r\n\r\n{$replyUrl}\r\n\r\nThe final date and location or a new suggestion of meeting will be communicated later based on responses received from different stakeholders about their availability.\r\n\r\nWe thank you for your cooperation.\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_NEW_EXTERNAL_REVIEWER', 'en_US', 256, 4, '{$ercTitle} - Suggestion of Meeting', 'Dear {$extReviewerFullName},\r\n\r\n{$ercTitle} was honored to received you expertise concerning the review of the proposal(s):\r\n\r\n{$submissions}\r\n\r\n{$ercTitle} is now organizing a meeting in order to complete the review(s). Please find below the informations concerning the meeting:\r\n\r\n{$dateLocation}\r\n\r\nPlease answer through the {$journalName} if you would be able to attend the meeting (comments or suggestions can be added). Click on the following link and log in using your username and password, to confirm your attendance.\r\n\r\n{$replyUrl}\r\n\r\nThe final date and location or a new suggestion of meeting will be communicated later based on responses of from different stakeholders regarding their availability.\r\n\r\nWe thank you for your cooperation.\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_CHANGE', 'en_US', 256, 4, '{$ercTitle} - New suggestion of meeting', 'Dear {$ercAbbrev} reviewers,\r\n\r\nAfter consideration of all the responses received, {$ercTitle} would like to suggest you a new date and/or location for the meeting concerning the review of the following proposal(s):\r\n\r\n{$submissions}\r\n\r\nNew suggested date and/or location for the meeting:\r\n\r\n{$dateLocation}\r\n\r\nPlease respond through the {$journalName} if you would be able to attend the meeting (comments or suggestions can be added). Click on the following link and, using your username and password, confirm your attendance as well as to access the meeting and proposal(s) information.\r\n\r\n{$replyUrl}\r\n\r\nThe final date and location or a new suggestion of meeting will be communicated later based on the responses received from all the members.\r\n\r\nWe thank you for your cooperation.\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_CHANGE_INVESTIGATOR', 'en_US', 256, 4, '{$ercTitle} - New suggestion of meeting', 'Dear {$investigatorFullName},\r\n\r\nAfter consideration of all the responses received, {$ercTitle} would like to suggest you a new date and/or location for the meeting concerning the review of your proposal(s):\r\n\r\n{$submissions}\r\n\r\nNew suggested date and/or location for the meeting:\r\n\r\n{$dateLocation}\r\n\r\nPlease respond the {$journalName} if you would be able to attend the meeting (comments or suggestions can be added). Click on the following link and, using your username and password, confirm your attendance.\r\n\r\n{$replyUrl}\r\n\r\nThe final date and location or a new suggestion of meeting will be communicated later based on the responses received from each stakeholders.\r\n\r\nWe thank you for your cooperation.\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_CHANGE_EXT_REVIEWER', 'en_US', 256, 4, '{$ercTitle} - New suggestion of meeting', 'Dear {$extReviewerFullName},\r\n\r\nAfter consideration of all the responses received, {$ercTitle} would like to suggest you a new date and/or location for the meeting concerning the review of the following proposal(s):\r\n\r\n{$submissions}\r\n\r\nNew suggested date and/or location for the meeting:\r\n\r\n{$dateLocation}\r\n\r\nPlease respond via the {$journalName} if you would be able to attend the meeting (comments or suggestions can be added). Click on the following link and, using your username and password, confirm your attendance.\r\n\r\n{$replyUrl}\r\n\r\nThe final date and location or a new suggestion of meeting will be communicated later based on the responses received from all stakeholders.\r\n\r\nWe thank you for your cooperation.\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_FINAL', 'en_US', 256, 4, '{$ercTitle} - Final schedule of meeting', 'Dear {$ercAbbrev} reviewers,\r\n\r\n{$ercTitle} would like to communicate you the final schedule of the meeting concerning the review of the following proposal(s):\r\n\r\n{$submissions}\r\n\r\nFinal date and/or location for the meeting:\r\n\r\n{$dateLocation}\r\n\r\nIf not already, please answer through the {$journalName} if you would be able to attend the meeting (comments or suggestions can be added). Click on the following link and, using your username and password, confirm your attendance as to access the meeting and proposal(s) information.\r\n\r\n{$replyUrl}\r\n\r\nWe thank you for your cooperation.\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_FINAL_INVESTIGATOR', 'en_US', 256, 4, '{$ercTitle} - Final schedule of meeting', 'Dear {$investigatorFullName},\r\n\r\n{$ercTitle} would like to communicate you the final schedule of the meeting concerning the review of your proposal(s):\r\n\r\n{$submissions}\r\n\r\nFinal date and/or location for the meeting:\r\n\r\n{$dateLocation}\r\n\r\nIf not already, please respond via the {$journalName} if you will be able to attend the meeting (comments or suggestions can be added). Click on the following link and, using your username and password, confirm your attendance.\r\n\r\n{$replyUrl}\r\n\r\nWe thank you for your cooperation.\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_FINAL_EXT_REVIEWER', 'en_US', 256, 4, '{$ercTitle} - Final schedule of meeting', 'Dear {$extReviewerFullName},\r\n\r\n{$ercTitle} was honored to received you expertise and would like to communicate you the final schedule of the meeting concerning the review of the following proposal(s):\r\n\r\n{$submissions}\r\n\r\nFinal date and/or location for the meeting:\r\n\r\n{$dateLocation}\r\n\r\nIf not already, please respond the {$journalName} if you will be able to attend the meeting (comments or suggestions can be added). Click on the following link and, using your username and password, confirm your attendance.\r\n\r\n{$replyUrl}\r\n\r\nWe thank you for your cooperation.\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_CANCEL', 'en_US', 256, 4, '{$ercTitle} - Cancellation of meeting', 'Dear {$ercAbbrev} reviewers,\r\n\r\n{$ercTitle} is in the regret to inform you of the cancellation of the meeting concerning the review of the following proposal(s):\r\n\r\n{$submissions}\r\n\r\nScheduled:\r\n\r\n{$dateLocation}\r\n\r\nWe apologies for any inconvenience this decision may cause.\r\n\r\nSincerely,\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_CANCEL_INVESTIGATOR', 'en_US', 256, 4, '{$ercTitle} - Cancellation of meeting', 'Dear {$investigatorFullName},\r\n\r\n{$ercTitle} is in the regret to inform you of the cancellation of the meeting concerning the review of your proposal(s):\r\n\r\n{$submissions}\r\n\r\nScheduled:\r\n\r\n{$dateLocation}\r\n\r\nWe apologies for any inconvenience this decision may cause.\r\n\r\nSincerely,\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_CANCEL_EXT_REVIEWER', 'en_US', 256, 4, '{$ercTitle} - Cancellation of meeting', 'Dear {$extReviewerFullName},\r\n\r\n{$ercTitle} was honored to received you expertise. However we have the regret to inform you of the cancellation of the meeting concerning the review of the following proposal(s):\r\n\r\n{$submissions}\r\n\r\nScheduled:\r\n\r\n{$dateLocation}\r\n\r\nWe apologies for any inconvenience this decision may cause.\r\n\r\nSincerely,\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('MEETING_REMIND', 'en_US', 256, 4, '{$ercTitle} - Reminder of meeting', 'Dear {$addresseeFullName},\r\n\r\nThis email is a gentle reminder about the meeting scheduled:\r\n\r\n{$dateLocation}\r\n\r\nAnd concerning the proposal(s):\r\n\r\n{$submissions}\r\n\r\nIf not already, please answer through the {$journalName} if you would be able to attend the meeting (comments or suggestions can be added). Click on the following link and, by using your username and password, you will be able to confirm your attendance.\r\n\r\n{$replyUrl}\r\n\r\nWe thank you for your cooperation.\r\n\r\n{$secretaryName}\r\n{$secretaryFunctions}'),
('SECTION_DECISION_FR_APPROVED', 'en_US', 256, 4, '{$sectionName} - The final report of your proposal "{$articleId}" has been approved', 'Dear {$authorName}:\r\n\r\nWe have the pleasure to inform you that the {$sectionName} has approved the final technical report of your proposal entitled "{$articleTitle}" with the ID {$articleId}.\r\n\r\nYou can access to all the information about the reviews your research (including, if applicable, the decision files) by logging into your account on the {$journalTitle} and following the URL address below:\r\n\r\n{$url}\r\n\r\nYour final technical report has now been made publicly available on the “Research Registry” of the {$journalTitle}.\r\n\r\nBest regards,\r\n\r\n{$editorialContactSignature}');
-- --------------------------------------------------------