Adds in Mantis features. Enabling automated downloading of Mantises into the internal database, browsing of them, and viewing of attachments (including .msg files).

Resolves #14
This commit is contained in:
Cameron Redmore 2025-04-25 23:31:50 +01:00
parent 0e77e310bd
commit 5268d6aecd
15 changed files with 1583 additions and 44 deletions

View file

@ -0,0 +1,20 @@
/*
Warnings:
- You are about to drop the column `sender_id` on the `MantisComment` table. All the data in the column will be lost.
- You are about to drop the column `reporter_id` on the `MantisIssue` table. All the data in the column will be lost.
*/
-- DropForeignKey
ALTER TABLE "MantisComment" DROP CONSTRAINT "MantisComment_sender_id_fkey";
-- DropForeignKey
ALTER TABLE "MantisIssue" DROP CONSTRAINT "MantisIssue_reporter_id_fkey";
-- AlterTable
ALTER TABLE "MantisComment" DROP COLUMN "sender_id",
ADD COLUMN "sender_username" TEXT;
-- AlterTable
ALTER TABLE "MantisIssue" DROP COLUMN "reporter_id",
ADD COLUMN "reporter_username" TEXT;