-- ============================================
-- 此文件由 Meoo Cloud 自动生成，请勿修改
-- This file is auto-generated by Meoo Cloud, DO NOT MODIFY
-- ============================================


-- 1. 为 products 表添加图片字段
ALTER TABLE products ADD COLUMN IF NOT EXISTS image_url TEXT;

-- 2. 创建产品图片存储桶
INSERT INTO storage.buckets (id, name, public)
VALUES ('product_images', 'product_images', true)
ON CONFLICT (id) DO NOTHING;

