mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-14 20:35:08 +02:00
Use CURRENT_TIMESTAMP as default value for timestampable entries.
Furthermore the database migration generation is now detects correctly if there were no changes to DB.
This commit is contained in:
parent
0ec73618ac
commit
4026f6be3f
6 changed files with 97 additions and 8 deletions
|
@ -66,7 +66,7 @@ class PartLot extends DBElement
|
|||
/**
|
||||
* @var ?\DateTime Set a time until when the lot must be used.
|
||||
* Set to null, if the lot can be used indefinitley.
|
||||
* @ORM\Column(type="datetimetz", name="expiration_date", nullable=true)
|
||||
* @ORM\Column(type="datetime", name="expiration_date", nullable=true)
|
||||
*/
|
||||
protected $expiration_date;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue