update promo

This commit is contained in:
2026-08-25 10:56:46 +07:00
parent d8e4e8a502
commit a61f3c1f23
24 changed files with 697 additions and 134 deletions
+13
View File
@@ -0,0 +1,13 @@
CREATE TABLE IF NOT EXISTS public.site_data (
id text PRIMARY KEY DEFAULT 'main',
data jsonb NOT NULL,
updated_at timestamptz NOT NULL DEFAULT now()
);
ALTER TABLE public.site_data ENABLE ROW LEVEL SECURITY;
GRANT SELECT ON public.site_data TO anon, authenticated;
DROP POLICY IF EXISTS "site_data public read" ON public.site_data;
CREATE POLICY "site_data public read" ON public.site_data
FOR SELECT TO anon, authenticated USING (true);