diff --git a/migrations/Version20210405182831.php b/migrations/Version20210405182831.php new file mode 100644 index 0000000..a9aaee6 --- /dev/null +++ b/migrations/Version20210405182831.php @@ -0,0 +1,31 @@ +addSql('ALTER TABLE pokemon CHANGE updated_at updated_at DATETIME DEFAULT NULL'); + } + + public function down(Schema $schema) : void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('ALTER TABLE pokemon CHANGE updated_at updated_at DATETIME NOT NULL'); + } +}