Files
superlink/sql/migration_v1.0.27.sql
T

19 lines
1008 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.
-- ============================================================
-- SuperLink Web - v1.0.27 数据库结构变更
-- 碎片处理完整方案:软碎片管理(完整度计算与待补全标记)
-- 四张主表增加 is_incomplete(0=完整,1=待补全)
-- ============================================================
SET NAMES utf8mb4;
ALTER TABLE `companies`
ADD COLUMN `is_incomplete` TINYINT(1) UNSIGNED DEFAULT 0 COMMENT '是否待补全(0=完整,1=待补全)' AFTER `website`;
ALTER TABLE `persons`
ADD COLUMN `is_incomplete` TINYINT(1) UNSIGNED DEFAULT 0 COMMENT '是否待补全(0=完整,1=待补全)' AFTER `work_location`;
ALTER TABLE `social_accounts`
ADD COLUMN `is_incomplete` TINYINT(1) UNSIGNED DEFAULT 0 COMMENT '是否待补全(0=完整,1=待补全)' AFTER `is_active`;
ALTER TABLE `media_commercial_attributes`
ADD COLUMN `is_incomplete` TINYINT(1) UNSIGNED DEFAULT 0 COMMENT '是否待补全(0=完整,1=待补全)' AFTER `media_remark`;