mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-01-11 15:28:40 +00:00
Remove calendar dependency
This commit is contained in:
parent
e2d8daba41
commit
6ad11dd3f3
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user