mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-02-14 07:18:41 +00:00
Remove space from end of line
This commit is contained in:
parent
3ac51a1a1e
commit
c8d6da1c68
|
|
@ -40,7 +40,7 @@ class Installer extends InstallerAbstract
|
||||||
switch ($dbPool->get()->getType()) {
|
switch ($dbPool->get()->getType()) {
|
||||||
case DatabaseType::MYSQL:
|
case DatabaseType::MYSQL:
|
||||||
$dbPool->get()->con->beginTransaction();
|
$dbPool->get()->con->beginTransaction();
|
||||||
|
|
||||||
$dbPool->get()->con->prepare(
|
$dbPool->get()->con->prepare(
|
||||||
'CREATE TABLE if NOT EXISTS `' . $dbPool->get()->prefix . 'support_ticket` (
|
'CREATE TABLE if NOT EXISTS `' . $dbPool->get()->prefix . 'support_ticket` (
|
||||||
`support_ticket_id` int(11) NOT NULL AUTO_INCREMENT,
|
`support_ticket_id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
|
@ -49,12 +49,12 @@ class Installer extends InstallerAbstract
|
||||||
KEY `support_ticket_task` (`support_ticket_task`)
|
KEY `support_ticket_task` (`support_ticket_task`)
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;'
|
)ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;'
|
||||||
)->execute();
|
)->execute();
|
||||||
|
|
||||||
$dbPool->get()->con->prepare(
|
$dbPool->get()->con->prepare(
|
||||||
'ALTER TABLE `' . $dbPool->get()->prefix . 'support_ticket`
|
'ALTER TABLE `' . $dbPool->get()->prefix . 'support_ticket`
|
||||||
ADD CONSTRAINT `' . $dbPool->get()->prefix . 'support_ticket_ibfk_1` FOREIGN KEY (`support_ticket_task`) REFERENCES `' . $dbPool->get()->prefix . 'task` (`task_id`);'
|
ADD CONSTRAINT `' . $dbPool->get()->prefix . 'support_ticket_ibfk_1` FOREIGN KEY (`support_ticket_task`) REFERENCES `' . $dbPool->get()->prefix . 'task` (`task_id`);'
|
||||||
)->execute();
|
)->execute();
|
||||||
|
|
||||||
$dbPool->get()->con->commit();
|
$dbPool->get()->con->commit();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user