mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
segments implementation and migration update. update getRequestFilters to include filter groups.
This commit is contained in:
parent
1ccc8a1a86
commit
f61421b742
16 changed files with 188 additions and 23 deletions
|
|
@ -2,6 +2,7 @@
|
|||
CREATE TABLE "segment" (
|
||||
"segment_id" UUID NOT NULL,
|
||||
"website_id" UUID NOT NULL,
|
||||
"type" VARCHAR(200) NOT NULL,
|
||||
"name" VARCHAR(200) NOT NULL,
|
||||
"filters" JSONB NOT NULL,
|
||||
"created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "segment" ADD COLUMN "type" VARCHAR(200) NOT NULL;
|
||||
|
||||
-- CreateTable
|
||||
CREATE TABLE "revenue" (
|
||||
"revenue_id" UUID NOT NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue