mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-12 07:42:40 +10:00
* feat: historical tasks in database, better scheduling, and unified API for accessing tasks * feat: new UI for everything * fix: add translations and fix formatting
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "Task" (
|
||||
"id" TEXT NOT NULL,
|
||||
"taskGroup" TEXT NOT NULL,
|
||||
"started" TIMESTAMP(3) NOT NULL,
|
||||
"ended" TIMESTAMP(3) NOT NULL,
|
||||
"success" BOOLEAN NOT NULL,
|
||||
"error" JSONB,
|
||||
"progress" DOUBLE PRECISION NOT NULL,
|
||||
"log" TEXT[],
|
||||
"acls" TEXT[],
|
||||
|
||||
CONSTRAINT "Task_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
@ -0,0 +1,8 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- Added the required column `name` to the `Task` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "Task" ADD COLUMN "name" TEXT NOT NULL;
|
||||
Reference in New Issue
Block a user