mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-03 15:04:32 +02:00
Fixed bug in DB schema, which prevented the creation of parts without info provider reference
This commit is contained in:
parent
a5995a2ce8
commit
f423fdf7f8
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue