Files
tyapi-server/scripts/migrate_query_whitelist_operation_ip.sql
2026-06-19 10:49:13 +08:00

4 lines
201 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 为 query_whitelist_entries 增加操作 IP 字段(公开接口添加时记录调用方 IP
ALTER TABLE query_whitelist_entries
ADD COLUMN IF NOT EXISTS operation_ip VARCHAR(64) DEFAULT '';