Upgrade to v26 (#172)

* A bunch of new updates from icehrm pro

* Push changes to frontend
This commit is contained in:
Thilina Hasantha
2019-02-03 14:00:34 +01:00
committed by GitHub
parent a75325fb52
commit 16014bb38e
734 changed files with 131230 additions and 17430 deletions

View File

@@ -0,0 +1,39 @@
<?php
namespace Classes\Migration;
class v20180808_250004_add_languages extends AbstractMigration{
public function up(){
$sql = <<<'SQL'
INSERT INTO `SupportedLanguages` (`name`, `description`) VALUES ('sr', 'Serbian');
SQL;
$this->executeQuery($sql);
$sql = <<<'SQL'
INSERT INTO `SupportedLanguages` (`name`, `description`) VALUES ('sv', 'Swedish');
SQL;
$this->executeQuery($sql);
$sql = <<<'SQL'
INSERT INTO `SupportedLanguages` (`name`, `description`) VALUES ('no', 'Norwegian');
SQL;
$this->executeQuery($sql);
$sql = <<<'SQL'
INSERT INTO `SupportedLanguages` (`name`, `description`) VALUES ('pt', 'Portuguese');
SQL;
$this->executeQuery($sql);
$sql = <<<'SQL'
INSERT INTO `SupportedLanguages` (`name`, `description`) VALUES ('nl', 'Dutch');
SQL;
return $this->executeQuery($sql);
}
public function down(){
return true;
}
}