-- +goose Up INSERT INTO w_system_configs (key, value, type, visibility, description, created_at, updated_at) VALUES ( 'storage_config', '{"driver":"local","local":{"root":"."},"s3":{"region":"us-east-1"},"r2":{"region":"auto"},"minio":{"region":"us-east-1","path_style":true},"oss":{},"webdav":{}}', 'system', 0, '文件存储驱动及连接配置(JSON)', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP ) ON CONFLICT (key) DO NOTHING; -- +goose Down DELETE FROM w_system_configs WHERE key = 'storage_config';