Преглед изворни кода

Returned current timestamp date onu log

Jean Sumara пре 5 година
родитељ
комит
254d60fe22
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/FTTHBundle/Entity/ONULogOLT.php

+ 1 - 1
src/FTTHBundle/Entity/ONULogOLT.php

@@ -31,7 +31,7 @@ class ONULogOLT
     protected $directory;
 
     /**
-     * @ORM\Column(type="datetime", nullable=false)
+     * @ORM\Column(type="datetime", options={"default": "CURRENT_TIMESTAMP"})
      */
     protected $date;