mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Working on notifications channels.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE "notification_channel" ALTER COLUMN "provider" SET DATA TYPE text;--> statement-breakpoint
|
||||
DROP TYPE "public"."provider_kind";--> statement-breakpoint
|
||||
CREATE TYPE "public"."provider_kind" AS ENUM('slack', 'smtp');--> statement-breakpoint
|
||||
ALTER TABLE "notification_channel" ALTER COLUMN "provider" SET DATA TYPE "public"."provider_kind" USING "provider"::"public"."provider_kind";
|
||||
File diff suppressed because it is too large
Load Diff
@@ -71,6 +71,13 @@
|
||||
"when": 1764364481615,
|
||||
"tag": "0009_lucky_edwin_jarvis",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 10,
|
||||
"version": "7",
|
||||
"when": 1764497732581,
|
||||
"tag": "0010_past_trauma",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,7 +6,7 @@ import {createSelectSchema} from "drizzle-zod";
|
||||
import {z} from "zod";
|
||||
|
||||
|
||||
export const providerKindEnum = pgEnum('provider_kind', ['curl', 'slack', 'smtp', 'webhook']);
|
||||
export const providerKindEnum = pgEnum('provider_kind', ['slack', 'smtp']);
|
||||
|
||||
export const notificationChannel = pgTable('notification_channel', {
|
||||
id: uuid("id").defaultRandom().primaryKey(),
|
||||
|
||||
Reference in New Issue
Block a user