segments implementation and migration update. update getRequestFilters to include filter groups.

This commit is contained in:
Francis Cao committed 2025-06-13 07:34:54 -07:00
1 parent 1ccc8a1a86
commit f61421b742
16 files changed
+188 -23

No files matched your search

@@ -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,