mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-21 18:55:16 +02:00
feat: update document tracking to use 'updated_at' timestamp instead of 'last_edited_at'
This commit is contained in:
parent
a313387e0f
commit
8c9aa68faa
28 changed files with 253 additions and 18 deletions
|
|
@ -353,8 +353,8 @@ class Document(BaseModel, TimestampMixin):
|
|||
Boolean, nullable=False, default=False, server_default=text("false")
|
||||
)
|
||||
|
||||
# Track when blocknote document was last edited
|
||||
last_edited_at = Column(TIMESTAMP(timezone=True), nullable=True)
|
||||
# Track when document was last updated by indexers, processors, or editor
|
||||
updated_at = Column(TIMESTAMP(timezone=True), nullable=True, index=True)
|
||||
|
||||
search_space_id = Column(
|
||||
Integer, ForeignKey("searchspaces.id", ondelete="CASCADE"), nullable=False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue