-
Notifications
You must be signed in to change notification settings - Fork 1
/
ext_tables.sql
62 lines (51 loc) · 1.67 KB
/
ext_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
/**
* --------------------------------------------------------------
* This file is part of the package UniPotsdam\Orcid.
* copyright 2022 by University Potsdam
* https://www.uni-potsdam.de/
*
* GitHub repo: https://github.com/University-of-Potsdam-MM/orcid
*
* Project: Orcid Extension
* Developer: Anuj Sharma (asharma@uni-potsdam.de)
* Developer: Stefanie Lemcke (stefanie.lemcke@uni-potsdam.de)
*
* --------------------------------------------------------------
*/
#
# Table structure for table 'tt_content'
#
CREATE TABLE tt_content(
orcid_citation_style varchar(255) DEFAULT '' NOT NULL,
orcid_id varchar(255) DEFAULT '' NOT NULL,
orcid_grouping_style int(1),
orcid_profile_owner int(1),
);
#
# Table structure for table 'tx_orcid_maindata'
#
CREATE TABLE tx_orcid_maindata (
uid int(11) NOT NULL auto_increment,
orcid_id varchar(255) DEFAULT '' NOT NULL,
author_name varchar(255) DEFAULT '' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
UNIQUE KEY orcid_id(orcid_id)
);
#
# Table structure for table 'tx_orcid_workdata'
#
CREATE TABLE tx_orcid_workdata (
uid int(11) NOT NULL auto_increment,
orcid_workput_code varchar(255) DEFAULT '' NOT NULL,
orcid_id varchar(255) DEFAULT '' NOT NULL,
orcid_work_date varchar(255) DEFAULT '',
orcid_work_data longtext DEFAULT '' NOT NULL,
orcid_work_type varchar (255) DEFAULT '',
orcid_last_modified bigint(20) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
UNIQUE KEY orcid_workput_code(orcid_workput_code),
);