Merge "Makes tasks owner not nullable in models.py"
This commit is contained in:
commit
5229f820a3
@ -219,7 +219,7 @@ class Task(BASE, GlanceBase):
|
|||||||
id = Column(String(36), primary_key=True, default=uuidutils.generate_uuid)
|
id = Column(String(36), primary_key=True, default=uuidutils.generate_uuid)
|
||||||
type = Column(String(30))
|
type = Column(String(30))
|
||||||
status = Column(String(30))
|
status = Column(String(30))
|
||||||
owner = Column(String(255))
|
owner = Column(String(255), nullable=False)
|
||||||
expires_at = Column(DateTime, nullable=True)
|
expires_at = Column(DateTime, nullable=True)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user