feat: dashboard v2, esm, upgrades (#211)
* esm * wip * wip * wip * wip * wip * wip * subscription notice * wip * wip * wip * fix envs * fix: update docker build * fix * esm/types * delete dashboard :D * add patches to dockerfiles * update packages + catalogs + ts * wip * remove native libs * ts * improvements * fix redirects and fetching session * try fix favicon * fixes * fix * order and resize reportds within a dashboard * improvements * wip * added userjot to dashboard * fix * add op * wip * different cache key * improve date picker * fix table * event details loading * redo onboarding completely * fix login * fix * fix * extend session, billing and improve bars * fix * reduce price on 10M
This commit is contained in:
committed by
GitHub
parent
436e81ecc9
commit
81a7e5d62e
@@ -0,0 +1,29 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "public"."_IntegrationToNotificationRule" ADD CONSTRAINT "_IntegrationToNotificationRule_AB_pkey" PRIMARY KEY ("A", "B");
|
||||
|
||||
-- DropIndex
|
||||
DROP INDEX "public"."_IntegrationToNotificationRule_AB_unique";
|
||||
|
||||
-- CreateTable
|
||||
CREATE TABLE "public"."report_layouts" (
|
||||
"id" UUID NOT NULL DEFAULT gen_random_uuid(),
|
||||
"reportId" UUID NOT NULL,
|
||||
"x" INTEGER NOT NULL DEFAULT 0,
|
||||
"y" INTEGER NOT NULL DEFAULT 0,
|
||||
"w" INTEGER NOT NULL DEFAULT 4,
|
||||
"h" INTEGER NOT NULL DEFAULT 3,
|
||||
"minW" INTEGER DEFAULT 2,
|
||||
"minH" INTEGER DEFAULT 2,
|
||||
"maxW" INTEGER,
|
||||
"maxH" INTEGER,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
|
||||
CONSTRAINT "report_layouts_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "report_layouts_reportId_key" ON "public"."report_layouts"("reportId");
|
||||
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "public"."report_layouts" ADD CONSTRAINT "report_layouts_reportId_fkey" FOREIGN KEY ("reportId") REFERENCES "public"."reports"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
Reference in New Issue
Block a user