Quellcode durchsuchen

Nullable true in timeDiscovery but default is 0.

Maximiliano Schvindt vor 6 Jahren
Ursprung
Commit
ed50a609a9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/FTTHBundle/Entity/OLT.php

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

@@ -186,7 +186,7 @@ class OLT implements DeviceInterface, TenancyIdTraitInterface, LocationInterface
     protected $backups;
 
     /**
-     * @ORM\Column(type="integer", options={"unsigned":true, "default":0})
+     * @ORM\Column(type="integer", nullable=true, options={"unsigned":true, "default":0})
      */
     protected $timeDiscovery = 0;