Refactor project structure

This commit is contained in:
Thilina Hasantha
2018-04-29 17:46:42 +02:00
parent 889baf124c
commit e3a7e18d9c
5513 changed files with 32 additions and 27 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace Classes\Migration;
class v20170908_200000_payroll_group extends AbstractMigration{
public function up(){
$sql = <<<'SQL'
Alter table Payroll add COLUMN `deduction_group` bigint(20) DEFAULT NULL;
SQL;
return $this->executeQuery($sql);
}
public function down(){
$sql = <<<'SQL'
Alter table Payroll drop COLUMN `deduction_group`;
SQL;
return $this->executeQuery($sql);
}
}