You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
562 B
PHTML
16 lines
562 B
PHTML
7 years ago
|
<?php
|
||
|
|
||
7 years ago
|
namespace v330\ServiceMessagesImprovements;
|
||
7 years ago
|
|
||
|
|
||
|
class CreateServiceMessageToLocationTable extends \AbstractUpdatableMigration {
|
||
|
|
||
|
function innerUp($hesk_settings) {
|
||
|
$this->executeQuery("CREATE TABLE `" . hesk_dbEscape($hesk_settings['db_pfix']) . "mfh_service_message_to_location`
|
||
|
(`service_message_id` INT NOT NULL, `location` VARCHAR(100) NOT NULL)");
|
||
|
}
|
||
|
|
||
|
function innerDown($hesk_settings) {
|
||
|
$this->executeQuery("DROP TABLE `" . hesk_dbEscape($hesk_settings['db_pfix']) . "mfh_service_message_to_location`");
|
||
|
}
|
||
|
}
|