From 349f4d38efd1db5eee9b30d0bec1ce92cf6d5e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Mon, 19 May 2025 09:48:13 +0300 Subject: [PATCH] remove user id from post history table, not sure why it was there in the first place --- migrations.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/migrations.lua b/migrations.lua index 74e3491..8709a74 100644 --- a/migrations.lua +++ b/migrations.lua @@ -48,4 +48,8 @@ return { db.query("CREATE INDEX idx_topics_slug ON topics(slug)") db.query("CREATE INDEX idx_threads_slug ON threads(slug)") end, + + [6] = function () + schema.drop_column("post_history", "user_id") + end, }