From c013892ca22fe6bface8dc580571b2f0527cd1db Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Wed, 8 Jan 2025 10:29:23 +0000 Subject: [chore] replace statuses.updated_at column with statuses.edited_at (#3636) * update statuses table to replace updated_at column with edited_at * code comment * better code comments, fix setting of status + edit + mention + poll database times * fix log to logf call * fix status.EditIDs not being carried over in dereferencer.encrichStatus() * move status.EditID setting into handleStatusEdit() --- internal/db/test/conversation.go | 1 - 1 file changed, 1 deletion(-) (limited to 'internal/db/test/conversation.go') diff --git a/internal/db/test/conversation.go b/internal/db/test/conversation.go index 95713927e..50bca5308 100644 --- a/internal/db/test/conversation.go +++ b/internal/db/test/conversation.go @@ -72,7 +72,6 @@ func (f *ConversationFactory) NewTestStatus(localAccount *gtsmodel.Account, thre status := >smodel.Status{ ID: statusID, CreatedAt: createdAt, - UpdatedAt: createdAt, URI: "http://localhost:8080/users/" + localAccount.Username + "/statuses/" + statusID, AccountID: localAccount.ID, AccountURI: localAccount.URI, -- cgit v1.2.3