-
Notifications
You must be signed in to change notification settings - Fork 31
/
ext_tables.sql
101 lines (81 loc) · 4.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
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
#
# Table structure for table 'tx_pxasocialfeed_domain_model_feed'
#
CREATE TABLE tx_pxasocialfeed_domain_model_feed
(
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
post_date int(11) DEFAULT NULL,
post_url varchar(255) DEFAULT '' NOT NULL,
message text NOT NULL,
image text NOT NULL,
small_image text NOT NULL,
title varchar(255) DEFAULT '' NOT NULL,
likes int(11) unsigned DEFAULT '0',
external_identifier varchar(255) DEFAULT '' NOT NULL,
update_date int(11) DEFAULT NULL,
configuration int(11) unsigned DEFAULT '0',
media_type int(11) unsigned DEFAULT '1',
fal_media int(11) unsigned DEFAULT '0',
type varchar(100) NOT NULL DEFAULT '0',
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,
PRIMARY KEY (uid),
KEY parent (pid)
);
#
# Table structure for table 'tx_pxasocialfeed_domain_model_token'
#
CREATE TABLE tx_pxasocialfeed_domain_model_token
(
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
name varchar(55) DEFAULT '' NOT NULL,
type int(11) DEFAULT '1' NOT NULL,
be_group varchar(255) DEFAULT '0' NOT NULL,
# Facebok & Instagram
app_id varchar(55) DEFAULT '' NOT NULL,
app_secret varchar(255) DEFAULT '' NOT NULL,
access_token text,
fb_social_id varchar(255) DEFAULT '' NOT NULL,
parent_token int(11) DEFAULT '0' NOT NULL,
# Twitter, access_token already exist
api_key varchar(255) DEFAULT '' NOT NULL,
api_secret_key varchar(255) DEFAULT '' NOT NULL,
access_token_secret varchar(255) DEFAULT '' NOT NULL,
bearer_token varchar(255) DEFAULT '' 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,
PRIMARY KEY (uid),
KEY parent (pid)
);
#
# Table structure for table 'tx_pxasocialfeed_domain_model_config'
#
CREATE TABLE tx_pxasocialfeed_domain_model_configuration
(
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
name varchar(255) DEFAULT '' NOT NULL,
image_size varchar(255) DEFAULT 'normal_images' NOT NULL,
social_id varchar(255) DEFAULT '' NOT NULL,
end_point_entry varchar(255) DEFAULT '' NOT NULL,
token int(11) unsigned DEFAULT '0',
max_items int(11) unsigned DEFAULT '0',
storage int(11) DEFAULT '0' NOT NULL,
be_group varchar(255) DEFAULT '0' NOT NULL,
perform_clean_up tinyint(4) DEFAULT '1' 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,
PRIMARY KEY (uid),
KEY parent (pid)
);