FIX [migration][absence] fix the typing in db for absence datetime immuatable

This commit is contained in:
2023-01-12 11:11:43 +01:00
parent b2924ede70
commit b93b78615b
3 changed files with 3 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ final class Version20230111160610 extends AbstractMigration
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE users DROP absenceStart');
$this->addSql('COMMENT ON COLUMN users.absenceStart IS \'(DC2Type:datetime_immutable)\'');
}
public function getDescription(): string