feat: add modpack update tracking feature

This commit is contained in:
2026-01-04 14:38:26 +03:00
parent 9cb39e6afb
commit 3f3b202d47
2 changed files with 7 additions and 1 deletions

Submodule backend updated: e98d10ae1d...275c1f2d50

View File

@@ -0,0 +1,6 @@
ALTER TABLE modpacks ADD COLUMN updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW();
CREATE TRIGGER set_timestamp_modpacks
BEFORE UPDATE ON modpacks
FOR EACH ROW
EXECUTE FUNCTION trigger_set_timestamp();