forked from aimeos/aimeos-typo3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_tables.sql
40 lines (35 loc) · 1.32 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
# Extend fe_users by fields required by Aimeos TYPO3 extension like sr_feuser_register does
CREATE TABLE fe_users (
siteid int(11) DEFAULT NULL,
static_info_country char(3) DEFAULT '' NOT NULL,
zone varchar(45) DEFAULT '' NOT NULL,
language char(2) DEFAULT '' NOT NULL,
gender int(11) unsigned DEFAULT '99' NOT NULL,
name varchar(100) DEFAULT '' NOT NULL,
first_name varchar(50) DEFAULT '' NOT NULL,
last_name varchar(50) DEFAULT '' NOT NULL,
zip varchar(20) DEFAULT '' NOT NULL,
date_of_birth int(11) DEFAULT '0' NOT NULL,
vatid varchar(32) DEFAULT '' NOT NULL,
longitude decimal(8,6) DEFAULT NULL,
latitude decimal(8,6) DEFAULT NULL,
vdate date DEFAULT NULL,
);
# Create cache tables for TYPO3 < 4.6
CREATE TABLE tx_aimeos_cache (
id int(11) unsigned NOT NULL auto_increment,
identifier varchar(250) DEFAULT '' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
content mediumblob,
lifetime int(11) unsigned DEFAULT '0' NOT NULL,
PRIMARY KEY (id),
KEY cache_id (identifier)
) ENGINE=InnoDB;
CREATE TABLE tx_aimeos_cache_tags (
id int(11) unsigned NOT NULL auto_increment,
identifier varchar(250) DEFAULT '' NOT NULL,
tag varchar(250) DEFAULT '' NOT NULL,
PRIMARY KEY (id),
KEY cache_id (identifier),
KEY cache_tag (tag)
) ENGINE=InnoDB;