Fix missing nullable constraint
... to make the model definition and alembic script consistent. Change-Id: I910e8af372dae97be0f0ed0ac9973eaca3b400ef
This commit is contained in:
parent
a6a89a6d4c
commit
7bdfeb23e2
@ -138,6 +138,6 @@ class Quota(Base):
|
||||
)
|
||||
|
||||
id = Column(String(36), primary_key=True, default=uuidutils.generate_uuid)
|
||||
project_id = Column(String(128))
|
||||
resource = Column(String(50))
|
||||
limit = Column(Integer)
|
||||
project_id = Column(String(128), nullable=False)
|
||||
resource = Column(String(50), nullable=False)
|
||||
limit = Column(Integer, nullable=False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user