feature(dashboard): add ability to filter out events by profile id and ip (#101)

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-12-07 21:34:32 +01:00
committed by GitHub
parent 27ee623584
commit f4ad97d87d
39 changed files with 1148 additions and 542 deletions

View File

@@ -0,0 +1,5 @@
-- AlterTable
ALTER TABLE "projects" ADD COLUMN "cors" TEXT,
ADD COLUMN "crossDomain" BOOLEAN NOT NULL DEFAULT false,
ADD COLUMN "domain" TEXT,
ADD COLUMN "filters" JSONB NOT NULL DEFAULT '[]';

View File

@@ -0,0 +1,9 @@
/*
Warnings:
- The `cors` column on the `projects` table would be dropped and recreated. This will lead to data loss if there is data in the column.
*/
-- AlterTable
ALTER TABLE "projects" DROP COLUMN "cors",
ADD COLUMN "cors" TEXT[] DEFAULT ARRAY[]::TEXT[];