| 1234567891011121314151617 |
- <?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() {
- }
- }
|