Adds deposit field in Computer

This commit is contained in:
emmdim 2019-12-11 00:35:17 +01:00 committed by nad
parent d1cff3e44e
commit 225e018cdc
3 changed files with 4 additions and 4 deletions

View File

@ -381,7 +381,7 @@ class Computer(Device):
It is a subset of the Linux definition of DMI / DMI decode. It is a subset of the Linux definition of DMI / DMI decode.
""" """
deposit = Column(Integer, check_range('deposit',min=0,max=100), default=0) deposit = Column(Integer, check_range('deposit', min=0, max=100), default=0)
owner_address = db.Column(CIText(), owner_address = db.Column(CIText(),
db.ForeignKey(User.ethereum_address), db.ForeignKey(User.ethereum_address),
nullable=False, nullable=False,