Files
Ydisks-Xianyu-Helper/internal/db/migrations/postgres/00037_api_delivery_outbound_policy.sql

7 lines
310 B
SQL

-- +goose Up
INSERT INTO "system_settings" ("key", value, description)
VALUES ('outbound_http_public_only', 'false', '是否限制用户配置的 HTTP 出站请求只能访问公网地址')
ON CONFLICT ("key") DO NOTHING;
-- +goose Down
DELETE FROM "system_settings" WHERE "key" = 'outbound_http_public_only';