From 83e8c8112a9c7d5847ec90db36b0f4e18f338e2d Mon Sep 17 00:00:00 2001 From: Shivering Ocelot Date: Mon, 14 Jul 2025 17:11:56 -0500 Subject: [PATCH] install npm dependencies, add last_edit message field --- Makefile | 1 + backend/src/database.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 971fbd6..8b531b2 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ install: venv @$(VENV_DIR)/bin/pip install -r backend/requirements.txt git submodule init git submodule update + cd frontend && npm install web: frontend/dist/index.html diff --git a/backend/src/database.py b/backend/src/database.py index 7bfb3a9..70c68a9 100644 --- a/backend/src/database.py +++ b/backend/src/database.py @@ -85,7 +85,7 @@ class Message(Base): # Timestamp when this message was sent time: Mapped[int] # Timestamp of this message's last edit - #last_edit: Mapped[int] + last_edit: Mapped[int] # Predefined set of message types: # message, log, memory, file, note