Articles
Loading…
No articles yet
Start writing your first piece — it'll appear here as a draft until you publish it.
Not saved yet
Draft
/articles/your-article-slug
Uploading to
System...
0/220
0 words
~0 min read
Training Videos
Loading…
Database Setup Required
The videos table was not found in your Supabase database. Please copy the SQL query below and run it in the SQL Editor tab of your Supabase Dashboard to enable training video uploads.
CREATE TABLE public.videos (
id uuid DEFAULT gen_random_uuid() PRIMARY KEY,
title text NOT NULL,
description text,
category text,
video_url text NOT NULL,
thumbnail_url text,
duration text,
status text DEFAULT 'draft'::text,
created_at timestamp with time zone DEFAULT now()
);
-- Enable RLS
ALTER TABLE public.videos ENABLE ROW LEVEL SECURITY;
-- Create Policies
CREATE POLICY "Allow public read access" ON public.videos FOR SELECT USING (true);
CREATE POLICY "Allow all access to authenticated users" ON public.videos FOR ALL TO authenticated USING (true);
No videos yet
Start uploading training videos for your users.
Draft
Uploading video file to bucket (this may take a moment)...
Video file uploaded successfully!
Uploading thumbnail...