Explorar el Código

Remove utcnow

JoostSijm hace 5 años
padre
commit
3708ed8963
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/models.py

+ 1 - 1
app/models.py

@@ -48,7 +48,7 @@ class ResourceTrack(Base):
     __tablename__ = 'resource_track'
     id = Column(Integer, primary_key=True)
     resource_type = Column(SmallInteger)
-    date_time = Column(DateTime, default=datetime.datetime.utcnow)
+    date_time = Column(DateTime)
     state_id = Column(Integer, ForeignKey('state.id'))
     state = relationship(
         'State',