feat: support searchTerm in Filter Segment (#20526)
* feat: support searchTerm in Filter Segment * update tests * save and load searchTerm * fix types * add missing condition
This commit is contained in:
1 parent
b6aedb830b
commit
703e20a43a
12 files changed
+133
-45
No files matched your search
+2
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "FilterSegment" ADD COLUMN "searchTerm" TEXT;
|
||||
@@ -2028,6 +2028,7 @@ model FilterSegment {
|
||||
columnVisibility Json?
|
||||
columnSizing Json?
|
||||
perPage Int
|
||||
searchTerm String? @db.Text
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
// Creator of the segment
|
||||
|
||||
Reference in new issue
Block a user