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:
Jan Böhmer 2019-09-02 15:03:20 +02:00
parent 0ec73618ac
commit 4026f6be3f
6 changed files with 97 additions and 8 deletions

View file

@ -85,7 +85,7 @@ class Footprint extends PartsContainingDBElement
/**
* @var string
* @ORM\Column(type="string", length=65536)
* @ORM\Column(type="text")
*/
protected $filename;
@ -96,7 +96,7 @@ class Footprint extends PartsContainingDBElement
/**
* @var string
* @ORM\Column(type="string", length=65536)
* @ORM\Column(type="text")
*/
protected $filename_3d;