20260919211702
This commit is contained in:
1 parent
f56e70b050
commit
f4bfc1ddfc
97 files changed
+6059
-1712
No files matched your search
@@ -0,0 +1,22 @@
|
||||
/* ============================================================================
|
||||
删除废弃表 s_rule
|
||||
----------------------------------------------------------------------------
|
||||
背景:删除策略重构(FMS删除策略重构设计.md v1.2)用 s_delete_rule 取代了
|
||||
旧的泛化规则表 s_rule。s_rule 已无任何读取方(前端旧概念、后端引用均已移除),
|
||||
且经核实库中行数为 0,可直接删除。
|
||||
|
||||
执行前已确认:
|
||||
- catalog = FMS(RunSqlFile 自带校验)
|
||||
- s_rule 行数 = 0
|
||||
- s_delete_rule 已存在(新表就位)
|
||||
|
||||
执行:fms-api 目录下
|
||||
java -cp "tools/migration/mssql-jdbc-13.4.0.jre11.jar" tools/migration/RunSqlFile.java \
|
||||
../sql/fms_drop_s_rule.sql
|
||||
============================================================================ */
|
||||
|
||||
if object_id('dbo.s_rule', 'U') is not null
|
||||
begin
|
||||
drop table dbo.s_rule;
|
||||
end
|
||||
GO
|
||||
Reference in new issue
Block a user