修改问题
这个提交包含在:
@@ -0,0 +1,14 @@
|
||||
-- 达梦现有DataGov专属schema增量282;需已完成279、280、281。
|
||||
-- 客户端设置遇错停止。已存在或部分执行时先核对表和安装记录,不可盲目重跑。
|
||||
CREATE TABLE dg_reporting_plan_source (
|
||||
organization_id BIGINT NOT NULL,
|
||||
plan_id VARCHAR(36 CHAR) NOT NULL,
|
||||
resource_code VARCHAR(128 CHAR) NOT NULL,
|
||||
binding_json CLOB NOT NULL,
|
||||
PRIMARY KEY (organization_id,plan_id,resource_code),
|
||||
CONSTRAINT fk_reporting_plan_source FOREIGN KEY (organization_id,plan_id) REFERENCES dg_reporting_plan(organization_id,plan_id)
|
||||
);
|
||||
INSERT INTO dg_dm_install_step(step_key,sha256,state,error_code) VALUES('dg_reporting_plan_source:dg_reporting_plan_source','a167a7da76d97e62de603a7aafa7d669e2acf00114b4b48084043092436aa22c','SUCCESS',NULL);
|
||||
COMMIT;
|
||||
SELECT step_key,state FROM dg_dm_install_step WHERE step_key='dg_reporting_plan_source:dg_reporting_plan_source';
|
||||
SELECT COUNT(*) AS direct_binding_rows FROM dg_reporting_plan_source;
|
||||
+11
-1
@@ -1,5 +1,5 @@
|
||||
-- Fresh-install DM schema; target 8.4.4.80 Pack89.
|
||||
-- Source fingerprint: 3db4b6f515d7e8c9a42ce80ca635be6417aa9b26bdf7e64897063b9068be9dab
|
||||
-- Source fingerprint: fe478bb2dc0d7a7f1d9acb605b241d36af7d34892de751f14b96d5c7a8759dc7
|
||||
-- @statement sys_social
|
||||
CREATE TABLE sys_social (
|
||||
id bigint not null comment '主键',
|
||||
@@ -20848,3 +20848,13 @@ CREATE TABLE dg_reporting_artifact (
|
||||
|
||||
-- @statement dg_reporting_artifact
|
||||
CREATE UNIQUE INDEX uk_reporting_artifact_operation ON dg_reporting_artifact(operation_key);
|
||||
|
||||
-- @statement dg_reporting_plan_source
|
||||
CREATE TABLE dg_reporting_plan_source (
|
||||
organization_id BIGINT NOT NULL,
|
||||
plan_id VARCHAR(36 CHAR) NOT NULL,
|
||||
resource_code VARCHAR(128 CHAR) NOT NULL,
|
||||
binding_json CLOB NOT NULL,
|
||||
PRIMARY KEY (organization_id,plan_id,resource_code),
|
||||
CONSTRAINT fk_reporting_plan_source FOREIGN KEY (organization_id,plan_id) REFERENCES dg_reporting_plan(organization_id,plan_id)
|
||||
);
|
||||
|
||||
在新工单中引用
屏蔽一个用户