Fixed bug in DB schema, which prevented the creation of parts without info provider reference

This commit is contained in:
Jan Böhmer 2023-07-16 23:48:55 +02:00
parent a5995a2ce8
commit f423fdf7f8
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ class InfoProviderReference
#[Column(type: 'string', nullable: true)]
private ?string $provider_url = null;
#[Column(type: Types::DATETIME_MUTABLE, options: ['default' => 'CURRENT_TIMESTAMP'])]
#[Column(type: Types::DATETIME_MUTABLE, nullable: true, options: ['default' => null])]
private ?\DateTimeInterface $last_updated = null;
/**