Commit 526ebd83 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[TASK] prepare database model for future features

parent d388da32
......@@ -147,7 +147,6 @@ class Membership extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
$this->personalMembership = $personalMembership;
}
/**
* Returns true, if the membership is a personal membership
*
......@@ -165,7 +164,4 @@ class Membership extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
{
$this->sorting = $sorting;
}
}
......@@ -50,9 +50,20 @@ CREATE TABLE tx_t3omembership_domain_model_membership (
pid int(11) DEFAULT '0' NOT NULL,
name varchar(255) DEFAULT '' NOT NULL,
subheader varchar(255) DEFAULT '' NOT NULL,
description text, NOT Null,
logo text NOT NULL,
personal_membership tinyint(4) DEFAULT '0' NOT NULL,
academic_membership tinyint(4) DEFAULT '0' NOT NULL,
no_filter tinyint(4) DEFAULT '0' NOT NULL,
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,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
......@@ -72,5 +83,4 @@ CREATE TABLE tx_t3omembership_domain_model_membership (
KEY parent (pid),
KEY language (l10n_parent,sys_language_uid)
);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment