From d23eb84a0088513eb559bbc2de225fbb67fa15fd Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Wed, 9 Oct 2024 15:12:01 +0300 Subject: [PATCH] =?utf8?q?=D0=BC=D0=B8=D0=B3=D1=80=D0=B0=D1=86=D0=B8=D1=8F?= =?utf8?q?=20salary=5Fshift=20=D0=BD=D0=B5=20=D0=BE=D0=B1=D1=8F=D0=B7?= =?utf8?q?=D0=B0=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- ...41009_120723_alter_column_salary_shift.php | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 erp24/migrations/m241009_120723_alter_column_salary_shift.php diff --git a/erp24/migrations/m241009_120723_alter_column_salary_shift.php b/erp24/migrations/m241009_120723_alter_column_salary_shift.php new file mode 100755 index 00000000..c0dc73aa --- /dev/null +++ b/erp24/migrations/m241009_120723_alter_column_salary_shift.php @@ -0,0 +1,26 @@ +alterColumn(self::TABLE_NAME, 'salary_shift', $this->integer()->null()->comment('оплата за смену')); + } + + /** + * {@inheritdoc} + */ + public function safeDown() + { + $this->alterColumn(self::TABLE_NAME, 'salary_shift', $this->integer()->notNull()->comment('оплата за смену')); + } +} -- 2.39.5