mirror of
https://gitlab.aachen.ccc.de/inventory/in.git
synced 2025-06-09 05:25:09 +02:00
Add last_updated field to be able to track outdated information / lost items
This commit is contained in:
parent
99df802a40
commit
1bf4eb801f
5 changed files with 22 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
from sqlalchemy import Boolean, Column, ForeignKey, String, Text
|
||||
from sqlalchemy import Boolean, Column, ForeignKey, Integer, String, Text
|
||||
|
||||
from database import Base
|
||||
|
||||
|
@ -15,3 +15,4 @@ class Item(Base):
|
|||
content = Column(Text)
|
||||
note = Column(Text)
|
||||
hidden = Column(Boolean, nullable=False)
|
||||
last_updated = Column(Integer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue