-- Insert initial categories if they don't exist INSERT INTO public.categories (name, slug, icon, description) VALUES ('AI Basics', 'ai-basics', 'Brain', 'Fundamental concepts and principles of Artificial Intelligence'), ('Machine Learning', 'machine-learning', 'Code2', 'Machine Learning concepts, algorithms, and applications'), ('Beginners', 'beginners', 'GraduationCap', 'Content suitable for those new to AI and ML'), ('Development', 'development', 'Code', 'AI development and programming topics'), ('Tools', 'tools', 'Wrench', 'AI tools and utilities'), ('News', 'news', 'Newspaper', 'Latest updates in AI') ON CONFLICT (name) DO NOTHING;