From 711bc249be3b17611c91cfc90cb201573413a0c2 Mon Sep 17 00:00:00 2001 From: Soren Zaiser Date: Thu, 13 Nov 2025 16:27:20 -0500 Subject: [PATCH 1/2] Add Streaming things --- supabase/migrations/20251113001614_cart_default_channels.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 supabase/migrations/20251113001614_cart_default_channels.sql diff --git a/supabase/migrations/20251113001614_cart_default_channels.sql b/supabase/migrations/20251113001614_cart_default_channels.sql new file mode 100644 index 0000000..456bbf7 --- /dev/null +++ b/supabase/migrations/20251113001614_cart_default_channels.sql @@ -0,0 +1,5 @@ +create type "public"."streaming_service" as enum ('Twitch', 'Youtube'); + +alter table "public"."truck_routes" add column "default_twitch_channel" varchar(255) null; +alter table "public"."truck_routes" add column "default_youtube_channel" varchar(255) null; +alter table "public"."truck_routes" add column "default_streaming_service" streaming_service null; \ No newline at end of file From cec4ba6414a93ead4eb0acc1f3a37d3b607a6105 Mon Sep 17 00:00:00 2001 From: Soren Zaiser Date: Thu, 13 Nov 2025 16:34:53 -0500 Subject: [PATCH 2/2] Make it more maluable --- .../migrations/20251113001614_cart_default_channels.sql | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/supabase/migrations/20251113001614_cart_default_channels.sql b/supabase/migrations/20251113001614_cart_default_channels.sql index 456bbf7..bf83455 100644 --- a/supabase/migrations/20251113001614_cart_default_channels.sql +++ b/supabase/migrations/20251113001614_cart_default_channels.sql @@ -1,5 +1 @@ -create type "public"."streaming_service" as enum ('Twitch', 'Youtube'); - -alter table "public"."truck_routes" add column "default_twitch_channel" varchar(255) null; -alter table "public"."truck_routes" add column "default_youtube_channel" varchar(255) null; -alter table "public"."truck_routes" add column "default_streaming_service" streaming_service null; \ No newline at end of file +alter table "public"."truck_routes" add column "streaming_config" jsonb; \ No newline at end of file