From 382eef1ac0a3f31261ef26d3af571db32288bfe2 Mon Sep 17 00:00:00 2001 From: gamonoid Date: Sat, 9 Sep 2017 15:23:38 +0200 Subject: [PATCH] =?UTF-8?q?Adding=20migration=20for=20payroll=20group=20?= =?UTF-8?q?=F0=9F=92=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- migrations/list.php | 1 + migrations/v20170908_200000_payroll_group.php | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 migrations/v20170908_200000_payroll_group.php diff --git a/migrations/list.php b/migrations/list.php index 8574ed0f..a6784ab9 100644 --- a/migrations/list.php +++ b/migrations/list.php @@ -1,5 +1,6 @@ executeQuery($sql); + } + + public function down(){ + + $sql = <<<'SQL' + Alter table Payroll drop COLUMN `deduction_group`; +SQL; + + return $this->executeQuery($sql); + } + +}