Merge "Makes tasks owner not nullable in models.py"

This commit is contained in:
Jenkins 2013-12-07 10:06:06 +00:00 committed by Gerrit Code Review
commit 5229f820a3

View File

@ -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)