**Untested! ** Add restore functionality for archived messages

- Added `RestoreMessageHandler` and route at `/account/messages/restore`
- Updated `users_messages` table to support `archived_at` reset
- Added restore button to archived messages template
- Ensures archived messages can be moved back into inbox
This commit is contained in:
2025-04-02 23:53:29 +01:00
parent db5352bc9c
commit 053ccf3845
13 changed files with 756 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ func InitDB(filepath string) *sql.DB {
SchemaLogTicketMatching,
SchemaAdminAccessLog,
SchemaNewAuditLog,
SchemaSyndicates,
SchemaSyndicateMembers,
SchemaSyndicateInvites,
}
for _, stmt := range schemas {