\345\270\270\350\247\201\351\227\256\351\242\230.md
... ...
@@ -581,4 +581,22 @@
581 581
delete from rbac_user_prefer where user_id = '' and sign_type = 'uiScheme' and sign_id = ''
582 582
</td>
583 583
</tr>
584
+ <tr>
585
+ <td style="width:15%">64</td>
586
+ <td style="width:35%">
587
+ 如何删除新版作用域相关的表数据
588
+ </td>
589
+ <td style="width:50%">
590
+ -- 1.先执行
591
+ delete from tenant_action_rule where id in (select action_scope_id from tenant_action_scope_dimension)
592
+ -- 2.再执行
593
+ delete from tenant_action_scope where id in (select action_scope_id from tenant_action_scope_dimension)
594
+ -- 3.清空下面表格
595
+ tenant_action_dimension
596
+ tenant_action_scope_dimension
597
+ tenant_user_group_instance
598
+ tenant_user_instance
599
+ --4. 服务重启
600
+ </td>
601
+ </tr>
584 602
</table>
... ...
\ No newline at end of file