strip subdirectory
[TYPO3CMS/Extensions/mm_messaging.git] / ext_tables.sql
1 CREATE TABLE tx_mmmessaging_domain_model_message (
2 uid int(11) NOT NULL auto_increment,
3 pid int(11) DEFAULT '0' NOT NULL,
4
5 message int(11) unsigned DEFAULT '0' NOT NULL,
6
7 recipient int(11) DEFAULT '0' NOT NULL,
8 sender int(11) DEFAULT '0' NOT NULL,
9 subject tinytext,
10 text tinytext,
11 user_read tinyint(1) unsigned DEFAULT '0' NOT NULL,
12 attachments int(11) unsigned DEFAULT '0' NOT NULL,
13 anwers int(11) unsigned DEFAULT '0' NOT NULL,
14 archived tinyint(1) unsigned DEFAULT '0' NOT NULL,
15
16 tstamp int(11) unsigned DEFAULT '0' NOT NULL,
17 crdate int(11) unsigned DEFAULT '0' NOT NULL,
18 deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
19 hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
20
21 t3ver_oid int(11) DEFAULT '0' NOT NULL,
22 t3ver_id int(11) DEFAULT '0' NOT NULL,
23 t3ver_wsid int(11) DEFAULT '0' NOT NULL,
24 t3ver_label varchar(30) DEFAULT '' NOT NULL,
25 t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
26 t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
27 t3ver_count int(11) DEFAULT '0' NOT NULL,
28 t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
29 t3_origuid int(11) DEFAULT '0' NOT NULL,
30
31 sys_language_uid int(11) DEFAULT '0' NOT NULL,
32 l18n_parent int(11) DEFAULT '0' NOT NULL,
33 l18n_diffsource mediumblob NOT NULL,
34
35 PRIMARY KEY (uid),
36 KEY parent (pid)
37 );
38
39 CREATE TABLE tx_mmmessaging_domain_model_attachment (
40 uid int(11) NOT NULL auto_increment,
41 pid int(11) DEFAULT '0' NOT NULL,
42
43 message int(11) unsigned DEFAULT '0' NOT NULL,
44
45 name tinytext,
46 type tinytext,
47 size tinytext,
48
49 tstamp int(11) unsigned DEFAULT '0' NOT NULL,
50 crdate int(11) unsigned DEFAULT '0' NOT NULL,
51 deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
52 hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
53
54 t3ver_oid int(11) DEFAULT '0' NOT NULL,
55 t3ver_id int(11) DEFAULT '0' NOT NULL,
56 t3ver_wsid int(11) DEFAULT '0' NOT NULL,
57 t3ver_label varchar(30) DEFAULT '' NOT NULL,
58 t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
59 t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
60 t3ver_count int(11) DEFAULT '0' NOT NULL,
61 t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
62 t3_origuid int(11) DEFAULT '0' NOT NULL,
63
64 sys_language_uid int(11) DEFAULT '0' NOT NULL,
65 l18n_parent int(11) DEFAULT '0' NOT NULL,
66 l18n_diffsource mediumblob NOT NULL,
67
68 PRIMARY KEY (uid),
69 KEY parent (pid)
70 );