ext_tables.sql 3.02 KB
Newer Older
Thomas Löffler's avatar
Thomas Löffler committed
1
2
3
4
5
6
7
#
# Table structure for table 'tx_t3omembership_domain_model_member'
#
CREATE TABLE tx_t3omembership_domain_model_member (

	uid int(11) NOT NULL auto_increment,
	pid int(11) DEFAULT '0' NOT NULL,
8
	subscription_no int(11) DEFAULT '0' NOT NULL,
Thomas Löffler's avatar
Thomas Löffler committed
9
10
11
12
13
14
15
16
17

	name varchar(255) DEFAULT '' NOT NULL,
	external_id int(11) DEFAULT '0' NOT NULL,
	end_date int(11) DEFAULT '0' NOT NULL,
	address varchar(255) DEFAULT '' NOT NULL,
	zip varchar(255) DEFAULT '' NOT NULL,
	city varchar(255) DEFAULT '' NOT NULL,
	country varchar(255) DEFAULT '' NOT NULL,
	email varchar(255) DEFAULT '' NOT NULL,
18
	invoice_email varchar(255) DEFAULT '' NOT NULL,
Thomas Löffler's avatar
Thomas Löffler committed
19
	url varchar(255) DEFAULT '' NOT NULL,
20
21
	firstname varchar(255) DEFAULT '' NOT NULL,
	lastname varchar(255) DEFAULT '' NOT NULL,
Thomas Löffler's avatar
Thomas Löffler committed
22
	membership int(11) unsigned DEFAULT '0',
23
	agency int(11) unsigned DEFAULT '0',
vsuess's avatar
vsuess committed
24
	logo int(11) unsigned NOT NULL default '0',
Thomas Löffler's avatar
Thomas Löffler committed
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

	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,

	t3_origuid int(11) DEFAULT '0' NOT NULL,
	sys_language_uid int(11) DEFAULT '0' NOT NULL,
	l10n_parent int(11) DEFAULT '0' NOT NULL,
	l10n_diffsource mediumblob,

	PRIMARY KEY (uid),
	KEY parent (pid),
41
	KEY subscription_no (subscription_no),
Thomas Löffler's avatar
Thomas Löffler committed
42
43
44
45
46
47
48
49
50
51
52
53
	KEY language (l10n_parent,sys_language_uid)
);

#
# Table structure for table 'tx_t3omembership_domain_model_membership'
#
CREATE TABLE tx_t3omembership_domain_model_membership (

	uid int(11) NOT NULL auto_increment,
	pid int(11) DEFAULT '0' NOT NULL,

	name varchar(255) DEFAULT '' NOT NULL,
54
	subheader varchar(255) DEFAULT '' NOT NULL,
Stefan Busemann's avatar
Stefan Busemann committed
55
	description text NOT Null,
Thomas Löffler's avatar
Thomas Löffler committed
56
	logo text NOT NULL,
57
	personal_membership tinyint(4) DEFAULT '0' NOT NULL,
58
	academic_membership tinyint(4) DEFAULT '0' NOT NULL,
59
	no_filter tinyint(4) DEFAULT '0' NOT NULL,
60
61
62
63
64
65
66
67
	event_vouchers_number int(11) unsigned DEFAULT '0' NOT NULL,
	event_voucher_value double(11,2) DEFAULT '0.00' NOT NULL,
	event_vouchers_number_academic  int(11) unsigned DEFAULT '0' NOT NULL,

  certification_discount_number int(11) unsigned DEFAULT '0' NOT NULL,
  registration_fee double(11,2) DEFAULT '0.00' NOT NULL,
  annual_fee double(11,2) DEFAULT '0.00' NOT NULL,
  shop_link varchar(255) DEFAULT '' NOT NULL,
Thomas Löffler's avatar
Thomas Löffler committed
68
69
70
71
72
73
74
75

	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,
76
	sorting int(11) unsigned DEFAULT '0' NOT NULL,
Thomas Löffler's avatar
Thomas Löffler committed
77
78
79
80
81

	t3_origuid int(11) DEFAULT '0' NOT NULL,
	sys_language_uid int(11) DEFAULT '0' NOT NULL,
	l10n_parent int(11) DEFAULT '0' NOT NULL,
	l10n_diffsource mediumblob,
82
	slug varchar(2048),
Thomas Löffler's avatar
Thomas Löffler committed
83
84
85
86
87

	PRIMARY KEY (uid),
	KEY parent (pid),

	KEY language (l10n_parent,sys_language_uid)
88
);