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.
15 lines
378 B
PHP
15 lines
378 B
PHP
<?php
|
|
|
|
abstract class AbstractUpdateMigration extends AbstractMigration {
|
|
abstract function getUpVersion();
|
|
|
|
abstract function getDownVersion();
|
|
|
|
function up($hesk_settings) {
|
|
$this->updateVersion($this->getUpVersion(), $hesk_settings);
|
|
}
|
|
|
|
function down($hesk_settings) {
|
|
$this->updateVersion($this->getDownVersion(), $hesk_settings);
|
|
}
|
|
} |