Browse Source

Nullable true in timeDiscovery but default is 0.

Maximiliano Schvindt 6 năm trước cách đây
mục cha
commit
ed50a609a9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;