forked from beechit/fal_securedownload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.sql
47 lines (37 loc) · 980 Bytes
/
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
#
# Tabel structure for table 'tx_falsecuredownload_folder'
#
CREATE TABLE tx_falsecuredownload_folder (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
# file info data
storage int(11) DEFAULT '0' NOT NULL,
folder text,
folder_hash varchar(40) DEFAULT '' NOT NULL,
# FE permissions
fe_groups tinytext,
PRIMARY KEY (uid),
KEY folder (storage,folder_hash)
);
#
# Table structure for table 'sys_file_metadata'
#
CREATE TABLE sys_file_metadata (
# FE permissions
fe_groups tinytext
);
CREATE TABLE tx_falsecuredownload_download (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
feuser int(11) DEFAULT '0' NOT NULL,
file int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
KEY user (feuser)
);
CREATE TABLE fe_users (
downloads int(11) DEFAULT '0' NOT NULL
);