|
@@ -0,0 +1,17 @@
|
|
|
|
|
+<?php
|
|
|
|
|
+
|
|
|
|
|
+use Phinx\Migration\AbstractMigration;
|
|
|
|
|
+
|
|
|
|
|
+class ChangeTestDtsFieldsNullable extends AbstractMigration {
|
|
|
|
|
+ public function up() {
|
|
|
|
|
+ $this->table("test")
|
|
|
|
|
+ ->changeColumn("dts_updated", "datetime", ["null" => true])
|
|
|
|
|
+ ->changeColumn("dts_assigned", "datetime", ["null" => true])
|
|
|
|
|
+ ->changeColumn("dts_verified", "datetime", ["null" => true])
|
|
|
|
|
+ ->update();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public function down() {
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+}
|