Files
ProxyPanel/sql/mod/20200805.sql

15 lines
710 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.
-- 必须先运行php artisan updateTextToJson 来转换数据库数据
-- run php artisan updateTextToJson to reformat database data
-- 可选性更新推荐数据库版本5.7及以上 更新
-- Optional Update, recommend for Mysql >=5.7
ALTER TABLE `referral_apply`
CHANGE `link_logs` `link_logs` JSON NOT NULL COMMENT '关联返利日志ID例如1,3,4';
ALTER TABLE `user_group`
CHANGE `nodes` `nodes` JSON DEFAULT NULL COMMENT '关联的节点ID多个用,号分隔';
ALTER TABLE `rule_group`
CHANGE `rules` `rules` JSON DEFAULT NULL COMMENT '关联的规则ID多个用,号分隔',
CHANGE `nodes` `nodes` JSON DEFAULT NULL COMMENT '关联的节点ID多个用,号分隔';