-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathext_tables.sql
66 lines (55 loc) · 2.12 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
63
64
65
66
CREATE TABLE pages (
hubspot_utmsource VARCHAR(255) DEFAULT '' NOT NULL,
hubspot_utmmedium VARCHAR(255) DEFAULT '' NOT NULL,
hubspot_utmcampaign VARCHAR(255) DEFAULT '' NOT NULL,
hubspot_utmcampaign_fulllink TEXT,
);
CREATE TABLE tt_content (
hubspot_guid VARCHAR(36) DEFAULT '' NOT NULL,
hubspot_cta int(11) unsigned DEFAULT '0' NOT NULL,
);
CREATE TABLE fe_users (
hubspot_id int(11) unsigned DEFAULT '0' NOT NULL,
hubspot_created_timestamp bigint(14) unsigned DEFAULT '0' NOT NULL,
hubspot_sync_timestamp int(11) unsigned DEFAULT '0' NOT NULL,
hubspot_sync_pass int(11) unsigned DEFAULT '0' NOT NULL,
KEY hubspot_identifier (hubspot_id)
);
#
# Table structure for table 'tx_hubspot_cta'
#
CREATE TABLE tx_hubspot_cta (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
starttime int(11) unsigned DEFAULT '0' NOT NULL,
endtime int(11) unsigned DEFAULT '0' NOT NULL,
name varchar(255) DEFAULT '' NOT NULL,
hubspot_cta_code text,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l10n_parent int(11) DEFAULT '0' NOT NULL,
l10n_diffsource mediumblob,
PRIMARY KEY (uid),
KEY language (l10n_parent,sys_language_uid)
);
#
# Table structure for table 'tx_hubspot_mapping'
#
CREATE TABLE tx_hubspot_mapping
(
object_type varchar(255) DEFAULT '' NOT NULL,
typoscript_key varchar(255) DEFAULT '' NOT NULL,
hubspot_id int(11) unsigned DEFAULT '0' NOT NULL,
uid_foreign int(11) DEFAULT '0' NOT NULL,
table_foreign varchar(255) DEFAULT '' NOT NULL,
hubspot_created_timestamp bigint(14) unsigned DEFAULT '0' NOT NULL,
hubspot_sync_timestamp int(11) unsigned DEFAULT '0' NOT NULL,
hubspot_sync_pass int(11) unsigned DEFAULT '0' NOT NULL,
KEY type_hubspot_identifier (object_type, hubspot_id),
KEY type_uid_key_foreign_table (object_type, typoscript_key, uid_foreign, table_foreign(40)),
KEY type_key_foreign_table (object_type, typoscript_key, table_foreign(40))
);