From ee7ab360e640445e7da31eb7129d6dfb1dc51720 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Sat, 25 Apr 2026 03:02:17 +0000 Subject: [PATCH] add scheduled publish columns --- supabase/migrations/20260424000000_add_scheduled_publish_columns.sql | 10 ++++++++++ 1 file(s) changed, 10 insertion(s)(+), 0 deletion(s)(-) diff --git a/supabase/migrations/20260424000000_add_scheduled_publish_columns.sql b/supabase/migrations/20260424000000_add_scheduled_publish_columns.sql new file mode 100644 --- /dev/null +++ b/supabase/migrations/20260424000000_add_scheduled_publish_columns.sql @@ -0,0 +1,10 @@ +-- Scheduled posts: store the scheduled publish time + a snapshot of share state +-- captured at scheduling, so the Inngest job can publish without the user's session. + +alter table "public"."leaflets_in_publications" + add column "scheduled_publish_at" timestamptz, + add column "scheduled_publish_data" jsonb; + +alter table "public"."leaflets_to_documents" + add column "scheduled_publish_at" timestamptz, + add column "scheduled_publish_data" jsonb; -- tangled.sh