Migrated to using Bun instead of Node and PNPM. This also brings in a Devcontainer which enables quick and easy development of the project. Additionally this adds connectivity to S3 (with a default Minio server pre-created) this enables Files to be uploaded against Mantises. There's also a new Internal Notes feature to store arbitrary text notes against a Mantis.
This commit is contained in:
parent
80ca48be70
commit
3b846b8c8e
23 changed files with 3210 additions and 6490 deletions
|
@ -0,0 +1,20 @@
|
|||
-- CreateTable
|
||||
CREATE TABLE "MantisFile" (
|
||||
"id" SERIAL NOT NULL,
|
||||
"mantis_issue_id" INTEGER NOT NULL,
|
||||
"filename" TEXT NOT NULL,
|
||||
"file_key" TEXT NOT NULL,
|
||||
"mime_type" TEXT,
|
||||
"size" INTEGER,
|
||||
"uploaded_by" TEXT,
|
||||
"uploaded_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"description" TEXT,
|
||||
|
||||
CONSTRAINT "MantisFile_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "MantisFile_mantis_issue_id_idx" ON "MantisFile"("mantis_issue_id");
|
||||
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "MantisFile" ADD CONSTRAINT "MantisFile_mantis_issue_id_fkey" FOREIGN KEY ("mantis_issue_id") REFERENCES "MantisIssue"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
Loading…
Add table
Add a link
Reference in a new issue