Remove calendar dependency

This commit is contained in:
Dennis Eichhorn 2018-09-12 20:06:09 +02:00
parent e2d8daba41
commit 6ad11dd3f3
2 changed files with 2 additions and 6 deletions

View File

@ -45,19 +45,16 @@ class Installer extends InstallerAbstract
`profile_account_image` int(11) DEFAULT NULL,
`profile_account_birthday` datetime DEFAULT NULL,
`profile_account_account` int(11) NOT NULL,
`profile_account_calendar` int(11) NOT NULL,
PRIMARY KEY (`profile_account_id`),
KEY `profile_account_image` (`profile_account_image`),
KEY `profile_account_account` (`profile_account_account`),
KEY `profile_account_calendar` (`profile_account_calendar`)
KEY `profile_account_account` (`profile_account_account`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;'
)->execute();
$dbPool->get()->con->prepare(
'ALTER TABLE `' . $dbPool->get()->prefix . 'profile_account`
ADD CONSTRAINT `' . $dbPool->get()->prefix . 'profile_account_ibfk_1` FOREIGN KEY (`profile_account_image`) REFERENCES `' . $dbPool->get()->prefix . 'media` (`media_id`),
ADD CONSTRAINT `' . $dbPool->get()->prefix . 'profile_account_ibfk_2` FOREIGN KEY (`profile_account_account`) REFERENCES `' . $dbPool->get()->prefix . 'account` (`account_id`),
ADD CONSTRAINT `' . $dbPool->get()->prefix . 'profile_account_ibfk_3` FOREIGN KEY (`profile_account_calendar`) REFERENCES `' . $dbPool->get()->prefix . 'calendar` (`calendar_id`);'
ADD CONSTRAINT `' . $dbPool->get()->prefix . 'profile_account_ibfk_2` FOREIGN KEY (`profile_account_account`) REFERENCES `' . $dbPool->get()->prefix . 'account` (`account_id`);'
)->execute();
// real contacts that you also save in your email contact list. this is to store other accounts

View File

@ -21,7 +21,6 @@
"Home": "1.0.0",
"Address": "1.0.0",
"Contact": "1.0.0",
"Calendar": "1.0.0",
"Media": "1.0.0"
},
"providing": {