Browse Source

dashboard_level_role_object表ref_type枚举拆分STORE、AREA

jwy
review512jwy@163.com 19 hours ago
parent
commit
b2afb1a5a4
  1. 14
      data-center-business-controller/src/main/resources/db/migration/V83__level_role_object_ref_type.sql

14
data-center-business-controller/src/main/resources/db/migration/V83__level_role_object_ref_type.sql

@ -0,0 +1,14 @@
-- 1. 先删除旧枚举数据
DELETE FROM dashboard_level_role_object
WHERE ref_type = 'STORE_AREA';
-- 2. 再修改 ENUM
ALTER TABLE dashboard_level_role_object
MODIFY ref_type
ENUM(
'BRANCH',
'STORE',
'AREA',
'SITE',
'BUILDING'
) NOT NULL;
Loading…
Cancel
Save